diff options
author | Luke Bratch <luke@bratch.co.uk> | 2019-05-28 23:24:54 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2019-05-28 23:33:53 +0100 |
commit | 92d106733468893d921dc678296a6716ddf979a4 (patch) | |
tree | 4b9d9563c09d90714d273bcaa96b7d3623a4f6a1 /config.c | |
parent | 8a9732c33888462d6fb34f693688e43ff1e31eaa (diff) |
Implement debugging to file and set the default configuration file to be that.
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |