forked from LiveCarta/PayPal-PHP-SDK
Updates to Logging
- Logging Level DEBUG introduced - Logging Level FINE deprecated to INFO - Logging Level restricted to INFO in live environments - Warning on using DEBUG in live environments - Fixes #215. Not Entirely, but one step ahead
This commit is contained in:
@@ -33,10 +33,15 @@ log.LogEnabled=true
|
||||
; path here
|
||||
log.FileName=../PayPal.log
|
||||
|
||||
; Logging level can be one of FINE, INFO, WARN or ERROR
|
||||
; Logging is most verbose in the 'FINE' level and
|
||||
; Logging level can be one of
|
||||
; Sandbox Environments: DEBUG, INFO, WARN, ERROR
|
||||
; Live Environments: INFO, WARN, ERROR
|
||||
; Logging is most verbose in the 'DEBUG' level and
|
||||
; decreases as you proceed towards ERROR
|
||||
log.LogLevel=FINE
|
||||
; DEBUG level is disabled for live, to not log sensitive information.
|
||||
; If the level is set to DEBUG, it will be reduced to FINE automatically,
|
||||
; with a warning message
|
||||
log.LogLevel=INFO
|
||||
|
||||
;Validation Configuration
|
||||
[validation]
|
||||
|
||||
Reference in New Issue
Block a user