Is there way to print something from config file to log file?
Added by Roz over 13 years ago
Hello,
Is there a way to print debug message from config file into log, for example in error.log.
Thank You.
Replies (4)
RE: Is there way to print something from config file to log file? - Added by nitrox over 13 years ago
Sure, see DebugVariables.
RE: Is there way to print something from config file to log file? - Added by Roz over 13 years ago
Thanks, but that is static debug information. I need to print own error messages.
For example
log("config started")
log("redirect success")
or I have create in source HTTP_ACCEPT variable and I need print this variable in log file
log($HTTP["accept"])
RE: Is there way to print something from config file to log file? - Added by nitrox over 13 years ago
Well, use the source. We didn´t implement everything. Specially not if its usecase is for ones personal use and of low value for others.
RE: Is there way to print something from config file to log file? - Added by Roz over 13 years ago
But possible debug.log-condition-handling(log conditionals handling for debugging) can suit me.