From bc91652965c9e49e3aab1310a53a0f9c2b0705d1 Mon Sep 17 00:00:00 2001 From: Jon Drews Date: Fri, 29 Jul 2022 23:53:22 -0400 Subject: [PATCH] Add in a default config file that gets written out to the local executable directory if no log file is foun (for ease of use) --- logstation.default.conf | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 logstation.default.conf diff --git a/logstation.default.conf b/logstation.default.conf new file mode 100644 index 0000000..bc88dde --- /dev/null +++ b/logstation.default.conf @@ -0,0 +1,39 @@ +# +# _ _ _ _ +#| | ___ __ _ ___ | |_ __ _ | |_ (_) ___ _ _ +#| | / _ \ / _` | (_-< | _| / _` | | _| | | / _ \ | ' \ +#|_| \___/ \__, | /__/ \__| \__,_| \__| |_| \___/ |_||_| +# |___/ +# +# logstaion config file +# https://github.com/jdrews/logstation + +# Windows example of setting up logs +logs = [ + 'e:\git\logstation\test\logfile.log', + 'e:\git\logstation\test\with space\logfile.log', + 'e:\git\logstation\test\logfile2.log' +] +# Unix example of setting up logs +#logs = [ +# '/home/jdrews/git/logstation/logfile.log', +# '/home/jdrews/git/logstation/logfile2.log' +#] + +# Unique name for logstation instance +# This name will be prepended to the browser tab +# Can be useful when connecting to multiple logstations +logStationName = "logstation" + +# Setup your syntax highlighting below +# matching gives priority to the top most +syntaxColors = [ + { color="#FF1F1F", regex=".*ERROR.*" }, # red + { color="#F2FF00", regex=".*WARN.*" }, # yellow + { color="#00FF2F", regex=".*INFO.*" }, # green + { color="#4F9BFF", regex=".*DEBUG.*" }, # blue + { color="#4FFFF6", regex=".*TRACE.*" }, # cyan +] + +[additional_settings] +webServerPort = 8884 # Webserver port to use \ No newline at end of file