Added /log shared setting

Issue #170
This commit is contained in:
James Booth
2014-04-13 21:56:35 +01:00
parent a4a23fdf68
commit c3418a2909
8 changed files with 52 additions and 8 deletions

View File

@@ -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