summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.c b/config.c
index bd1aeb8..41f07d6 100644
--- a/config.c
+++ b/config.c
@@ -233,7 +233,10 @@ int createconfigfile(char *filename) {
"\n"
"# Debug verbosity (\"0\" for critical only, \"1\" for some extra info, \"2\" for full debug mode)\n"
"# (All output goes to <basedir>/debug.txt)\n"
- "debug = \"2\"\n";
+ "debug = \"2\"\n"
+ "\n"
+ "# Number of debug logs to keep\n"
+ "debugkeep = \"5\"\n";
// Write complete string to file
if ((fprintf(fp, "%s", string)) < 0) {