Jump to content

Create Own log files


irigsoft

Recommended Posts

Hello,

I want to create multiple log files for different sessions.

1. I create a logFile with name a session ID.

2. When creating a new session I create TStringList (on UniMainModule public)

3. By some features (Functions and procedures on MainForm/ uniServerModule/ UniSession/), I store StringLIst.SaveToFile in a local (On server) log file.

4. In some situations, I get an Error on StringLIst "access address for 0000000".

but I Free this StringList  only OnDestroy session !!!

 

 

Is there a way to save dynamically on the local file (on the server side)

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...