Home » Community » Newbie corner » [SOLVED] Logging and LOG_APPEND
[SOLVED] Logging and LOG_APPEND [message #47474] |
Fri, 20 January 2017 15:01  |
Giorgio
Messages: 218 Registered: August 2015
|
Experienced Member |
|
|
Hi there,
I am implementing a simple logging facility in an application. I realized that every time the application is started, the log file is cleared. So, I found in the documentation that I have to setup the logfile using StdLogSetup(LOG_APPEND). I did so, but now messages created with RLOG are not logged. What am I doing wrong?
Regards,
Gio
[Updated on: Mon, 23 January 2017 07:59] Report message to a moderator
|
|
|
|
Re: Logging and LOG_APPEND [message #47480 is a reply to message #47474] |
Fri, 20 January 2017 21:59   |
|
Hi Giorgio,
If I remember correctly, you just have to set all the behavior you need, including the defaults. Default is just LOG_FILE, so in your case you should specify StdLogSetup(LOG_APPEND|LOG_FILE).
Best regards,
Honza
|
|
|
|
|
Goto Forum:
Current Time: Sat May 03 17:56:25 CEST 2025
Total time taken to generate the page: 0.00813 seconds
|