-
Notifications
You must be signed in to change notification settings - Fork 0
Handling input and config file paths
Table of contents
- Input files
- Configuration files (for colors and filters)
In case an input file is given without a path, Salomon checks the default log file path /var/log
for the file.
For example, if you execute the following command
./salomon.sh -a monitor -i foo.log -c /tmp/colors.cfg
and the file foo.log
does not exist inside the current working directory, Salomon checks for /var/log/foo.log
.
You do not have to give the full path to config files for Salomon either if these are located in the corresponding sub-directories.
So, in case you only give the file name instead of the path for the color or filter config like this
./salomon.sh -a monitor -i /tmp/foobar.log -c colors.cfg -f filter.cfg
the current working directory will be checked for these config files first. If these do not exist there, Salomon will check for them inside the config sub-directories (colors
and filters
) of its script directory.
Wiki
Quick start
Installation (optional)
- Quick installation guide
- Manually downloaded archive
- Verifying archive integrity
-
Installation script
(to install, update and uninstall)
- RPM package
Compatibility
Configuration
Salomon-BSD
Usage
- Processing input files
- Colorizing and highlighting certain lines
- Handling file paths containing certain characters
Development