about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-04-13 20:41:11 +0100
committerJames Booth <boothj5@gmail.com>2014-04-13 20:41:11 +0100
commita4a23fdf689608636e1d7fe049be081728f69e46 (patch)
treefc9189e26822dd37fff7bf07cba593f8bd9a7cb2 /src/ui
parentbc6f8ceb3aa62c714f09acb7dc1dec30580ab720 (diff)
downloadprofani-tty-a4a23fdf689608636e1d7fe049be081728f69e46.tar.gz
Added /log rotate option
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/console.c4
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