Anyone have a better solution to looking through C...
# cfml-general
p
Anyone have a better solution to looking through CF logs? The CF admin log filter is frustrating.
ā˜šŸ» 1
t
either going to the log files and opening them directly, if you have access, or hitting the download button in the administrator, and then opening the downloaded file.
they're just text files, but I find them easier to read that way than in the log viewer.
s
Yeah, I always just read them in sublime text or something
p
Thanks!
m
You also can read log files through CF Administrator web interface.
s
@Mark S. I believe that the CF Administrator interface is what he found frustratingā€¦ and it most certainly is a cumbersome way to view the logs.
b
@PK I have a client using the Elastic APM ELK stack for this and it's pretty amazing. There's some setup and maint required to get all the servers sending over their log files, but once it's setup you can do all sorts of searches and reports on them.
šŸ‘ 1
It make managing their Docker swarm 1000 times easier, especaily when they have a lot of short-lived tasks that spin up and down on schedules so the log files and console logs are gone within minutes.
If you just want something like error reporting, I'd recommend a service like Sentry which you hook up to LogBox or your app's error handler. You can host your own Sentry server in Docker pretty easy.
t
I use grep and other text filters in wsl.