Jump to content

Logger.RootPath


Pascal

Recommended Posts

Hi,

 

Using XE7 - uniGUI as application (1.0.0.1412 License Holder).

 

I'm trying to change the default Log path using the property UniServerModule.Logger.RootPath := MyLogPath;

Doing this in the 'UniGUIServerModuleBeforeInit' event. 

 

Strange is that it now creates two log files. One in the folder it was set to => 'MyLogPath' and the second one is created in my uniGUI application log folder when I close the uniGUI application.

 

Content of the log file that was added to the uniGUI application log folder:

 

 

Project1.exe: 000016BC: 16:22:33 [Terminated]:Exit Code: 0

 

Any idea why it creates the second log file when closing the application although the UniServerModule.Logger.RootPath was set to another folder?

 

Regards,

Pascal

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...