0
Answered

Log directory

Eddie Kirkman 3 years ago • updated by Adam van Vliet (Chief Information Security Officer) 1 year ago 6

Getting myself confused by the logging in IdB5. With no log writer configured, my logs end up under c:\program files\Unify solutions\identity broker\services\logs and I cannot see anywhere to set a different directory. If I configure the standard csv logger I can specify a directory, but all this gives me is the same files being created in two places. is there a way to point the default log directory to somewhere other than under program files?

Affected Versions:
Fixed by Version:

Answer

Answer
Answered

Hi Eddie,


There is currently no way to configure the logging directory of the UNIFY Core Log Writer. I've made an item on the Team Services backlog to look at having this configurable. As a workaround, you could possibly replace the Logs directory with a symbolic link to your desired directory.

GOOD, I'M SATISFIED

Would love to see this as a feature/config item. I believe one of our other large local customers would like Logs on a different location too.

Satisfaction mark by Eddie Kirkman 3 years ago
Answer
Answered

Hi Eddie,


There is currently no way to configure the logging directory of the UNIFY Core Log Writer. I've made an item on the Team Services backlog to look at having this configurable. As a workaround, you could possibly replace the Logs directory with a symbolic link to your desired directory.

Just to confirm - the logs we get to look at on the logs tab - those are the core ones?


Also - just tried putting a Logs shortcut to my different logs directory and though IdB starts, the logs tab throws an error.


I will stick with the default location for now

Correct, the viewable logs on the Logs tab are those generated by the core log writer.


I don't think that a shortcut would work, try an actual symbolic link (https://technet.microsoft.com/en-us/library/cc753194(v=ws.11).aspx with the /d flag). If you didn't care about viewing the log files through the management studio, you could perhaps also just adjust the core log writer down to minimal settings (keep for 1 day, minimum logging level "Minimal") and then use a standard CSV log writer for the "real" logs.

Symbolic link worked fine - I have forwarded the relevant info to others. Thanks heaps

Excellent! You're welcome.