summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-05-28 23:24:54 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-05-28 23:33:53 +0100
commit92d106733468893d921dc678296a6716ddf979a4 (patch)
tree4b9d9563c09d90714d273bcaa96b7d3623a4f6a1 /config.c
parent8a9732c33888462d6fb34f693688e43ff1e31eaa (diff)
Implement debugging to file and set the default configuration file to be that.
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index 9b69682..dcbba42 100644
--- a/config.c
+++ b/config.c
@@ -225,8 +225,8 @@ int createconfigfile(char *filename) {
"replaylogging = \"1\"\n"
"\n"
"# Debug output control (\"2\" for print to screen, \"1\" for print to file, or \"0\" for disabled)\n"
- "# (Note: print to file not yet implemented)\n"
- "debug = \"0\"\n";
+ "# (The debug file can be found in <basedir>/debug.txt)\n"
+ "debug = \"1\"\n";
// Write complete string to file
if ((fprintf(fp, string)) < 0) {