Logging Errors In NetLinx
Cameron D
Posts: 31
in AMX Hardware
Has anyone done any Error Logging saving it to the NetLinx flash card Eg:error.txt. Because some systems are not on a Network with E-Mail.
Can you send me some Code/Idea's .
Can you send me some Code/Idea's .
0
Comments
Find it attached.
Thanks Marc
I understand most of it.
Cameron
Ugly but translated to eng. Re-included original source and Doc.
Thanks,Marc.
I still prefer syslog for this sort of thing, but to each his own. Logs can be as long as they need, you have tools to look at the logs, they can be archived/compressed, etc.
For a syslog client, my netlinx-modules project on SourceForge has a NetLinx module that can do syslog logging. You can use a server of your choice on Windows or UNIX or MAC.
-- Jeff
Many thanks, you'll get a Credit in the official English manual
Why is the comtec module sending log every 10sec and how to remove that?
This log module is now over 20 years old, pretty sure I don't have the source anymore to check this... and by the demo source code, it's even not NX optimized (WAITs in mainline). Possible that this 10-second logging is a side effect of that old module in a NX environment.
I think I have a newer log module, let me check when I'm back in the office.