diff options
author | James Booth <boothj5@gmail.com> | 2014-04-13 20:41:11 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-04-13 20:41:11 +0100 |
commit | a4a23fdf689608636e1d7fe049be081728f69e46 (patch) | |
tree | fc9189e26822dd37fff7bf07cba593f8bd9a7cb2 /src/ui | |
parent | bc6f8ceb3aa62c714f09acb7dc1dec30580ab720 (diff) | |
download | profani-tty-a4a23fdf689608636e1d7fe049be081728f69e46.tar.gz |
Added /log rotate option
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/console.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index 86ee7909..aedb637d 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -1223,6 +1223,10 @@ 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"); } static void |