VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
andrew at rwts.com.au Guest
|
Posted: Thu Jul 23, 2020 7:11 pm Post subject: [asterisk-users] Remove ANSI colour trings from log files on |
|
|
Hi,
Is there a way to drop the ANSI colour strings from log files? In particular, I've got JSON logging throwing logs over to ES, but they have the ANSI colour escape sequences.
Ideally I don't want to lose coloured logs from the console though, and I can't "see" a way to do this.
Ast 16 at the moment…
Andrew |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
joel at textplus.com Guest
|
Posted: Thu Jul 23, 2020 11:07 pm Post subject: [asterisk-users] Remove ANSI colour trings from log files on |
|
|
Have you tried starting asterisk with the "-n" param?
-n Disable console colorization
On Thu, Jul 23, 2020 at 5:11 PM Andrew Yager <andrew@rwts.com.au (andrew@rwts.com.au)> wrote:
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
joel at textplus.com Guest
|
Posted: Thu Jul 23, 2020 11:17 pm Post subject: [asterisk-users] Remove ANSI colour trings from log files on |
|
|
Well I skipped reading the part where you say “only for log files”
On Thu, Jul 23, 2020 at 21:06 Joel Serrano <joel@textplus.com (joel@textplus.com)> wrote:
Quote: | Have you tried starting asterisk with the "-n" param?
-n Disable console colorization
On Thu, Jul 23, 2020 at 5:11 PM Andrew Yager <andrew@rwts.com.au (andrew@rwts.com.au)> wrote:
|
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
pozar at lns.com Guest
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
andrew at rwts.com.au Guest
|
Posted: Fri Jul 24, 2020 7:27 am Post subject: [asterisk-users] Remove ANSI colour trings from log files on |
|
|
On Fri, 24 Jul 2020 at 14:23, Tim Požár <pozar@lns.com (pozar@lns.com)> wrote:
Yeah; we're injesting using filebeat and you can do sed style parsing on lines into it using one fo the pipeline parsers; it' sjust a bit messy config wise when using the stnadard docker containers. But if it's not a "simple" answer it sounds like that's not a bad option.
Andrew |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|