Two vendor daemon share the same log file
I have encountered an issue in which two vendor daemons share the same log file on our server. I have tried to fix it by segregating them and changing the path but it seemingly does not work. Does anyone of you know how to solve this issue?
Can you give more information on the setup? Is it a One License Server and Multiple License Files or a Common vendor daemon setup?
Also, one suggestion would be to use the DEBUGLOG keyword to specify the log file path in the OPTIONS FILE.
Options file is a .(dot)opt file which does not exist by default and might need to be created. If the options file name is the same as the vendor daemon then lmtools should automatically load it considering it is in the same location as lmgrd/lmtool. If not or if the server does not take up the options file automatically you can always declare in the license file on the vendor line. Syntax:
VENDOR vendor [vendor_daemon_path] [[OPTIONS=]options_file_path] [[PORT=]port]
Thank you, Yvernekar.
However, would you mind explaining more about this "One suggestion would be to use the DEBUGLOG keyword to specify the log file path in the OPTIONS FILE."?
Once you create an options file make an entry in it:
debug_log_path: path for the debug log output
Preceding the debug_log_path with a "+" character appends logging entries; otherwise, the file is overwritten each time the daemon is started.
Hi, Can you try adding the AUTO_ROLLOVER keyword as shown below, and check if that solves the issue? if not, please raise a Support case.
DEBUGLOG +debug.log AUTO_ROLLOVER 5KB
Note : Here we can specify KB/MB/GB for file size to rollover
- Here the last entry about [AUTO_ROLLOVER] is the enhancement related to the rollover of debug log.
- The AUTO_ROLLOVER option enables the auto rollover of debug log file, which automatically performs the rollover functionality of debug log file when the debug log file size crosses the specified value. The default value would be 512MB.
- The automatic rollover will always be performed at midnight.