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

wifiChecker log message format is inconsistent #75

Open
fabriziorizzo opened this issue Jan 13, 2017 · 0 comments
Open

wifiChecker log message format is inconsistent #75

fabriziorizzo opened this issue Jan 13, 2017 · 0 comments

Comments

@fabriziorizzo
Copy link

fabriziorizzo commented Jan 13, 2017

Update wifiChecker.sh with log messages matching basic date-first format.
simply use following as an example perhaps, setting INFO/WARNING/ERROR as appropriate?

echo "$(date +"%b %d %Y %T") ERROR BrewPi: wifiChecker: This script must be run as root: sudo ./wifiChecker.sh" 1>&2

instead of
echo "This script must be run as root: sudo ./wifiChecker.sh) ($(date))" 1>&2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant