Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No output in log file #63

Closed
JuergenBausa opened this issue Nov 2, 2021 · 3 comments
Closed

No output in log file #63

JuergenBausa opened this issue Nov 2, 2021 · 3 comments
Labels
question Further information is requested

Comments

@JuergenBausa
Copy link

I just installed current hd-idle (deb of 1.16) from github on my armbian buster system (odroid hc2). I use
the systemd unit with

START_HD_IDLE=true HD_IDLE_OPTS="-a sda -i 1800 -l /var/log/hd-idle.log"

in /etc/default/hd-idle (its actually two separate lines, I dont know what goes wrong with the quoting here).

Spinning down seems to work (at least from the messages in /var/log/syslog, I have no physical access
to the system at the moment), but I dont find any output in the log file /var/log/hd-idle.log.

What is the problem?

Jürgen

@rabelux
Copy link
Contributor

rabelux commented Nov 3, 2021

I had the same "issue" as I thought the logfile should get written when a disk goes to sleep. It doesn't. You have to wake up a disk to produce an output to the logfile.
An entry at 9:00 for example saying the disk was running for 2 hrs and stopped for 1 hr means the disk was woken up at 6, stopped at 8 and was now woken up again. Hope that helps.

@JuergenBausa
Copy link
Author

Thanks, for the hint. You are right. I just had to wait, now I see something in the log.

@adelolmo
Copy link
Owner

adelolmo commented Nov 3, 2021

@adelolmo adelolmo added the question Further information is requested label Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants