summaryrefslogtreecommitdiff
path: root/conf-tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'conf-tmpl')
-rw-r--r--conf-tmpl/Changelog.txt6
-rw-r--r--conf-tmpl/char_athena.conf8
-rw-r--r--conf-tmpl/login_athena.conf8
-rw-r--r--conf-tmpl/map_athena.conf8
4 files changed, 30 insertions, 0 deletions
diff --git a/conf-tmpl/Changelog.txt b/conf-tmpl/Changelog.txt
index 7d7189082..9cbc4cedb 100644
--- a/conf-tmpl/Changelog.txt
+++ b/conf-tmpl/Changelog.txt
@@ -1,5 +1,11 @@
Date Added
+2006/11/07
+ * New Setting "stdout_with_ansisequence"
+ (login_athena/char_athena/map_athena) allows you to specify whether color
+ control chars should be printed or not. Is useful to disable for a
+ "cleaner" output when you are logging the console output. All credit goes
+ to FlavioJS for coding the whole thing. [Skotlex]
2006/11/05
* Added maplags for PowerNPC quest. [KarLaeda]
2006/10/31
diff --git a/conf-tmpl/char_athena.conf b/conf-tmpl/char_athena.conf
index c48c92138..840c40d2e 100644
--- a/conf-tmpl/char_athena.conf
+++ b/conf-tmpl/char_athena.conf
@@ -47,6 +47,14 @@ char_port: 6121
//For full format information, consult the strftime() manual.
//timestamp_format: [%d/%b %H:%M]
+//Defines if the ansi sequences should be parsed or skipped.
+//If set to yes the console output is in color. If the stream is redirected to
+//a file, the ansi sequences are printed out.
+//If set to no the console is colorless and, if redirected, will skip the ansi
+//sequences.
+//NOTE: this setting applyes for both stdout and stderr
+stdout_with_ansisequence: yes
+
//Makes server output more silent by ommitting certain types of messages:
//1: Hide Information messages
//2: Hide Status messages
diff --git a/conf-tmpl/login_athena.conf b/conf-tmpl/login_athena.conf
index 41995a2db..834904a89 100644
--- a/conf-tmpl/login_athena.conf
+++ b/conf-tmpl/login_athena.conf
@@ -22,6 +22,14 @@ login_port: 6900
//For full format information, consult the strftime() manual.
//timestamp_format: [%d/%b %H:%M]
+//Defines if the ansi sequences should be parsed or skipped.
+//If set to yes the console output is in color. If the stream is redirected to
+//a file, the ansi sequences are printed out.
+//If set to no the console is colorless and, if redirected, will skip the ansi
+//sequences.
+//NOTE: this setting applyes for both stdout and stderr
+stdout_with_ansisequence: yes
+
//Makes server output more silent by ommitting certain types of messages:
//1: Hide Information messages
//2: Hide Status messages
diff --git a/conf-tmpl/map_athena.conf b/conf-tmpl/map_athena.conf
index ee9fc4ae8..4812e5d1c 100644
--- a/conf-tmpl/map_athena.conf
+++ b/conf-tmpl/map_athena.conf
@@ -57,6 +57,14 @@ map_port: 5121
//For full format information, consult the strftime() manual.
//timestamp_format: [%d/%b %H:%M]
+//Defines if the ansi sequences should be parsed or skipped.
+//If set to yes the console output is in color. If the stream is redirected to
+//a file, the ansi sequences are printed out.
+//If set to no the console is colorless and, if redirected, will skip the ansi
+//sequences.
+//NOTE: this setting applyes for both stdout and stderr
+stdout_with_ansisequence: yes
+
//Makes server output more silent by ommitting certain types of messages:
//1: Hide Information messages
//2: Hide Status messages