diff options
author | James Booth <boothj5@gmail.com> | 2014-04-13 21:56:35 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-04-13 21:56:51 +0100 |
commit | c3418a290959a6b128c6224ccd01562850ae98c0 (patch) | |
tree | 33bc9b65c83cb96ce6f1466db263e00a04a2417d /src/ui | |
parent | a4a23fdf689608636e1d7fe049be081728f69e46 (diff) | |
download | profani-tty-c3418a290959a6b128c6224ccd01562850ae98c0.tar.gz |
Added /log shared setting
Issue #170
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/console.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index aedb637d..ec9130cf 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -1223,10 +1223,16 @@ static void _cons_log_setting(void) { cons_show("Max log size (/log maxsize) : %d bytes", prefs_get_max_log_size()); + if (prefs_get_boolean(PREF_LOG_ROTATE)) cons_show("Log rotation (/log rotate) : ON"); else cons_show("Log rotation (/log rotate) : OFF"); + + if (prefs_get_boolean(PREF_LOG_SHARED)) + cons_show("Shared log (/log shared) : ON"); + else + cons_show("Shared log (/log shared) : OFF"); } static void |