How to generate a new console.log?

Domino/Notes Version: 12.0.2FP7
When you halt the server and start it back up it takes the old console.log and renames it to console_servername_YYYY_MM_DD@HH_MM_SS.log then creates a new console.log upon startup.

Is there a less disruptive way of generating this time-in-place console log file?

I tried STOP CONSOLELOG followed by START CONSOLELOG but that did not generate a new file.

Goal: send the last console*.log to our siem.

Hi, Rob.

The only way to create a brand new console.log is to restart the Domino server.

We have an option to enable Console Log Mirroring but this will not totally create a brand new console.log. This feature creates a secondary thread that monitors console.log and mirrors it to a new file. When that mirrored file reaches a certain size, Domino automatically closes it and starts a new one (e.g., console1.log, console2.log), effectively giving you the rotation you want without a restart.

Regards,

Ian

That’s a big help. Any chance that they could add a rotation not based on size, but on time interval instead? This would help for sending off to our SIEM at intervals.

Hi, Rob.

Currently the console mirroring is based on size. It is a wonderful idea to enable your recommendation. We strongly suggest that you can have this enhancement logged in the HCL dominoforever Product Idea Portal: https://domino-ideas.hcltechsw.com/

HCL Domino development team will evaluate your suggestion, provided it is not hampering any existing functionality of Notes.

Regards,

Ian

Allow console log to roll over by duration | HCL Domino Ideas Portal

What happens when you get to console999.log?

If I have console1.log through console75.log and then purge off console1.log through console25.log, will the next file be console1.log instead of console76.log? From the doc: If console10.log exists, console9.log and then console11.log are created.

Another question.

I’m looking for a pattern of %console%.log. In order to only get the mirrors and not the live would it work to use something like

Debug_Outfile=debug.txt

Which generates debug.txt and debug_servername_… instead of console.log, console_servername_…

Some ancient carry over from pre Domino 9 to get console logging. It doth confuse me and support line when I forget I use it though. And, not on all servers.