Open dgudim opened 1 week ago
Hi again :)
The config that is provided with the logalize package (the one in /etc/logalize/logalize.yaml
) is just an example, not the default one. Logalize has some formats
, patterns
and words
built-in right into the executable file. You can see these builtins here or print them with logalize -b
.
You can disable some of the builtins or even all of them with -L
, -P
, -W
or -N
flags. See more in logalize -h
. For example, if you use -N
flag it will turn off all built-in stuff and the only source for colorization info will be your configuration file.
Ohhh, makes sense. I basically want to change the colors, but don't touch the patters/formats/etc. The only way to do that if I understand correctly is to copy all the builtins and change the colors. Are color themes planned? Or maybe make the defaults use terminal colors? :thinking:
Themes are in the plans, but I can't promise it will be soon :/
Why do you want to use ANSI terminal colors instead of the full RGB TrueColor? Most modern terminals support it. And if you try to use logalize in something like Linux virtual console with only basic 256 colors it will fall back from TrueColor to ANSI automatically.
The main reason is that if i change the color/color theme in one place, it automatically changes in all of my tools. Absolutely no pressure with color themes, I am just looking for a good log highlighter, I don't want you to implement the feature just because I want it, take your time, just wanted to know the plans :)
We need themes for logalize, that's for sure :) I will leave this issue open until I implement theme support. You can subscribe to it if you want
Will do! Thanks again!
I copied the default config and changed the colors, but I noticed 2 things
My config:
Orig:
Changed: