diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-07-25 21:22:57 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-07-25 21:22:57 +0200 |
commit | 871e580949b1417058da7f7e9fa0380d308ef708 (patch) | |
tree | cd8d308e7ab3c81c42259b3ed2a636334be9b367 /src/log.c | |
parent | 41e4d6e9ace4f3b717af3c0419b69a2ac7935116 (diff) |
selinux: log how much time it takes to load the SELinux policy and database
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -231,6 +231,12 @@ void log_set_target(LogTarget target) { log_target = target; } +void log_close(void) { + log_close_console(); + log_close_kmsg(); + log_close_syslog(); +} + void log_set_max_level(int level) { assert((level & LOG_PRIMASK) == level); |