Back to the main page.

Bug 146 - cmd line peerslave should use syslog() for output, instead of fprintf

Reported 2010-09-03 09:30:00 +0200
Modified 2011-01-05 12:01:10 +0100
Product: FieldTrip
Component: peer
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 minor
Assigned to: Robert Oostenveld
Depends on:
See also:

Robert Oostenveld - 2010-09-03 09:30:42 +0200

Since peerslave.glnxa64 is started from a cron job, it is impossible to check the output. Gathering information about the use and debugging unusual behaviour therefore is very difficult. It would be nice if all peerslaves were able to report to a central logserver. The log file could include information about users, job requirements, the smartXXX handling and potential problems in job execution Idea: as a proof of concept and for testing, a syslog mex file for linux would be nice to have.

Robert Oostenveld - 2010-09-07 17:21:32 +0200

Has been implemented using syslog and DEBUG macro. The --verbose option can be used to determine how much dat is written to syslog (to avoid spamming it with debug info. Another useful feature (requires recompile) is LOG_PERROR for openlog(). Tested on OSX and Linux. No recent attempt to compile on windows. Something else will have to be implemented (based on the DEBUG macro) for win32 and win64.

Robert Oostenveld - 2011-01-05 11:57:05 +0100

selected a long list of resolved bugs from roboos and changed the status into "RESOLVED"

Robert Oostenveld - 2011-01-05 12:01:10 +0100

selected all old bugs from roboos with status RESOLVED and changed it into CLOSED