diff --git a/README.md b/README.md index 65e4d98..3c60dd3 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,13 @@ And run tests: $ zig build test ``` +Test the so +----------- + +``` +sed -i 's/\(\(passwd\|group\).*files\)$/\1 turbo/' /etc/nsswitch.conf +``` + Other commands will be documented as they are implemented. This project uses [git subtrac][git-subtrac] for managing dependencies. They diff --git a/src/libnss.zig b/src/libnss.zig index 2d42c18..238510d 100644 --- a/src/libnss.zig +++ b/src/libnss.zig @@ -28,7 +28,7 @@ const ENV_OMIT_MEMBERS = "TURBONSS_OMIT_MEMBERS"; export var turbonss_db_path: [:0]const u8 = "/etc/turbonss/db.turbo"; -//pub var log_level: std.log.Level = .err; +pub const log_level: std.log.Level = .debug; // State is a type of the global variable holding the process state: // the DB handle and all the iterators.