- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- 11.15.1 license server does not append logs after restart
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
11.15.1 license server does not append logs after restart
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hello Nico,
The logfile you specify via DEBUGLOG in the OPT file gets switched to after lmgrd has already been logging to the logfile it received via the -l option.
If you can see:
Debug log started (+C:\ProgramData\FLEXlm\lmgrd\JSdebug.log)
in the file C:\ProgramData\FLEXlm\lmgrd\JSdebug.log itself, that would mean lmgrd -l and DEBUGLOG point to the same file. There's no problem with this (although you don't really need DEBUGLOG at that time), but you'll have to make sure both -l and DEBUGLOG are using a path starting with a "+" to enable append mode. Without it, lmgrd would empty out the file on restart before DEBUGOPT gets a chance to switch it to append mode.
Kind regards,
- Richard.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
ah ok i will give that a go.
We have been using this for years, but since upgrading to 11.15.1 the behavior changed, is that possible ?
In the past we configured it the same way and had no issues.
So we can also create 2 separate log files and that should be good.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I'm not sure if the behavior changed in v11.15.1, but having spent a lot of time around log files recently (albeit with v11.16.x) I'm not surprised if a mismatch between append and non-append would cause this.
Could you perhaps avoid having to use the .opt file for this purpose and have all logs be written in append mode starting with lmgrd, by using -l "+LogFilePath"? The installs.exe service installer supports this option as well. (Ignore the path creation errors you might get running installs.exe with a path starting with a +, as that program unfortunately has a number of bugs.)
Cheers / met vriendelijke groet,
- Richard.