Long lines in alert log cause clipping
Long lines in alert log cause clipping
Hello, please see the attached screenshot. I have an HTTP probe checking a URL with a long string and this is causing the lines to do something funky and end up indenting. Is there a way to shorten the length of what is displayed in the alert log or is there another viable solution? Thanks in advance!
Re: Long lines in alert log cause clipping
The indenting thing appeared in Nagios a few versions ago... I believe the point of it was to easily identify related state changes in the log files. To the best of my knowledge there is no way to turn this feature off. There is also no way that I know of for truncating the display of the log files.
Beyond aesthetics is there a reason that this is a problem?
Beyond aesthetics is there a reason that this is a problem?
Re: Long lines in alert log cause clipping
I do not think this is a feature. Look what happens when I increase the width of my browser window. The problem with the long lines goes away. However, I don't like having my browser fully extended...
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Long lines in alert log cause clipping
I believe what you are seeing is the browser trying to constrain the fields within to the current size of it's window. I really do not believe there is a way around this, have you tried with a different browser? Perhaps the conventions are different. One way this could be changed would be editing the css files regarding this.
Re: Long lines in alert log cause clipping
Well that will learn me to make assumptions. 
Re: Long lines in alert log cause clipping
You're right. The problem exists in Chrome but not Firefox. I submit a bug report to Chrome. Hopefully it gets fixed... if they even see it as a problem.slansing wrote:have you tried with a different browser?