Skip to content

Commit

Permalink
Add in a default config file that gets written out to the local execu…
Browse files Browse the repository at this point in the history
…table directory if no log file is foun (for ease of use)
  • Loading branch information
jdrews committed Jul 30, 2022
1 parent 47dfb21 commit bc91652
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions logstation.default.conf
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bc91652

Please sign in to comment.