Re: [dev] Slock: Logging patch

2010-11-11 Thread Jacob Todd
Because #ifdef is the epitome of portability. Everyone knows that. On Nov 11, 2010 4:05 PM, "Josh Rickmar" wrote: > On Thu, Nov 11, 2010 at 08:04:32PM +0100, Danilo Bargen wrote: >> Hello all >> >> In case anyone is interested: I've added logging capabilities to >> Slock. The patch is attached. It

Re: [dev] Slock: Logging patch

2010-11-11 Thread Josh Rickmar
On Thu, Nov 11, 2010 at 08:04:32PM +0100, Danilo Bargen wrote: > Hello all > > In case anyone is interested: I've added logging capabilities to > Slock. The patch is attached. It will enable logging of all locks, > unlocks and failed unlock attempts to ~/.slock.log, if compiled with > the ENABLE_L

[dev] Slock: Logging patch

2010-11-11 Thread Danilo Bargen
Hello all In case anyone is interested: I've added logging capabilities to Slock. The patch is attached. It will enable logging of all locks, unlocks and failed unlock attempts to ~/.slock.log, if compiled with the ENABLE_LOGGING flag. --Danilo diff -up /tmp/slock-0.9/config.mk slock-0.9/config.m