~gbmor/clinte

ref: f79e97f5c3cae593aefaf7b02664e961572092c8 clinte/src/logging.rs -rw-r--r-- 1.1 KiB
removed panics from logging initialization
using in-memory db for tests, passing path to logging::init() instead of assuming
logging changes:

Rather than using a new logfile for each invocation, a single logfile
called `/tmp/clinte_$USER.log` will be used, with later invocations
appending to the previous messages.

Also removed some unnecessary `use` statements relating to the `log`
crate and its macros. Leaving the macro calls namespaced to `log::`
makes it clearer what the behavior is.
letting errors flow up
updated logging test
getting user name at single location
logging reflects executing username
fix logging test
db connected, logging up