 |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Thu May 01, 2008 8:46 am
Read/Write to Log File |
How can I create a file such as file 1, add some header text, then set that as my log for the session to append all the logging text to it?
I've already set everything up to where I create the file, write the text, then set #Log to log to that file. However, when I open it nothing was logged to it, even though it shows that is the right path it was supposedly logging to. All my header text is there, but it didn't log anything to it. I don't understand it. |
|
|
 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4774 Location: Pensacola, FL, USA
|
Posted: Thu May 01, 2008 8:59 am |
you may need to close the file again before starting to log
#FILE 1 $whatever
#WRITE 1 {header}
#CLOSE 1
#LOG $whatever |
|
_________________ Discord: Shalimarwildcat |
|
|
 |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Thu May 01, 2008 9:05 am |
Hmm I bet that is it. I will check and see.
Edit: Yep that was it.  |
|
|
 |
|
|