retitle 510565 hdapsd should be able to use syslog for logging
severity 510565 wishlist
tag 510565 + confirmed
thanks

Hi Nils,

On Sat, 3 Jan 2009 10:02:22 +0100 Nils wrote:

> Everything works fine, if I start "hdapsd -d sda -s 15" from console I get the
> output:
> 
> Sat Jan  3 09:59:19 2009: parking
> Sat Jan  3 09:59:21 2009: un-parking
> 
> If I start the daemon via "/etc/init.d/hdapsd start" I don't see any log 
> entry.
> I think these messages are important and should be logged e.g. 
> in /var/log/syslog or another logfile.

Yes you can argue the messages are important (or you could argue that
it's important that the data on the drive won't get broken and you
dont wake up the disk with random writes too early:)).
Neverless, currently hdapsd just does a printf () on those messages
above. And the init script start hdapsd in background mode, so it does
not have a stdout to print to, and all the nice messages go
to /dev/null :)
As I have taken over upstream maintainance, I might find some time and
hack a syslog patch, but please don't expect it too soonish :)

Regards
Evgeni

-- 
Bruce Schneier Fact Number 1101:
Bruce Schneier's Birthday collides with nobodys

Attachment: pgpNoalfLfcDe.pgp
Description: PGP signature

Reply via email to