P
Hi all,
In the perl program called demo in the demo/basic directory there is a polling routine that monitors the point quit.
while (1) {
$quit = `../../smm/plctest -g quit`;
if ($quit =~ /quit = 1/)
{
last
}
}
In half a minute linuxplc.log grows to about 2meg.
The contents is thus.
<snip>
Thu Sep 21 23:31:20 2000
- TRACE - test - Closing logging files.
Thu Sep 21 23:31:20 2000
- WARNING - test - Cannot append to log file (null).
Thu Sep 21 23:31:20 2000
- WARNING - test - Cannot append to log file (null).
Thu Sep 21 23:31:20 2000
- WARNING - test - Cannot append to log file (null).
Thu Sep 21 23:31:20 2000
- TRACE - test - Initialized logging files.
Thu Sep 21 23:31:20 2000
- TRACE - test - Closing logging files.
Thu Sep 21 23:31:20 2000
- WARNING - test - Cannot append to log file (null).
Thu Sep 21 23:31:20 2000
- WARNING - test - Cannot append to log file (null).
Thu Sep 21 23:31:20 2000
- WARNING - test - Cannot append to log file (null).
<\snip>
(Real time logging wow
What is happening here that test can't append to the log file.
I understand that the while loop is repeating very often and hence the file
grows quickly but I don't understand why I get the warning.
regards
Phil
_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc
In the perl program called demo in the demo/basic directory there is a polling routine that monitors the point quit.
while (1) {
$quit = `../../smm/plctest -g quit`;
if ($quit =~ /quit = 1/)
{
last
}
}
In half a minute linuxplc.log grows to about 2meg.
The contents is thus.
<snip>
Thu Sep 21 23:31:20 2000
- TRACE - test - Closing logging files.
Thu Sep 21 23:31:20 2000
- WARNING - test - Cannot append to log file (null).
Thu Sep 21 23:31:20 2000
- WARNING - test - Cannot append to log file (null).
Thu Sep 21 23:31:20 2000
- WARNING - test - Cannot append to log file (null).
Thu Sep 21 23:31:20 2000
- TRACE - test - Initialized logging files.
Thu Sep 21 23:31:20 2000
- TRACE - test - Closing logging files.
Thu Sep 21 23:31:20 2000
- WARNING - test - Cannot append to log file (null).
Thu Sep 21 23:31:20 2000
- WARNING - test - Cannot append to log file (null).
Thu Sep 21 23:31:20 2000
- WARNING - test - Cannot append to log file (null).
<\snip>
(Real time logging wow
What is happening here that test can't append to the log file.
I understand that the while loop is repeating very often and hence the file
grows quickly but I don't understand why I get the warning.
regards
Phil
_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc