Page 1 of 1
How to display full time in the winbox log
Posted: Thu Aug 02, 2018 6:51 am
by iammecn
I want to see full time.
TIM截图20180802114953.png
Re: How to display full time in the winbox log
Posted: Thu Aug 02, 2018 1:22 pm
by Jotne
For me it looks correctly. It may be that you have increased your system fonts.
You could send all your log to a Syslog server like Splunk. Then you could see all information and also graph it,
viewtopic.php?f=2&t=137338&sid=fadfcd5e ... d81c10c831
Re: How to display full time in the winbox log
Posted: Thu Aug 02, 2018 1:46 pm
by sid5632
For me it looks correctly. It may be that you have increased your system fonts.
Who cares?
The point is that it should work correctly regardless of the system font. And why isn't it resizeable, like everything else?
Re: How to display full time in the winbox log
Posted: Thu Aug 02, 2018 6:27 pm
by Jotne
Who cares?
That was some rude response. I was just trying to help out. To find the source of your problem.
If it is the system font that makes the problem, create a support case at MiktroTik.
Re: How to display full time in the winbox log
Posted: Thu Aug 02, 2018 9:06 pm
by pe1chl
The font isn't resizable. It probably should be, but you will have to live with what it is, for now.
I experienced such a problem when running winbox under Linux using wine on a system with nice font smoothing, but you'll
have to disable that for winbox or you will run into a lot of problems. So now my wine/winbox has the oldfashioned font.
Re: How to display full time in the winbox log
Posted: Thu Aug 02, 2018 10:10 pm
by pukkita
sid5632, no rudeness, even your gratuitous one, is allowed here.
You're Warned.
Re: How to display full time in the winbox log
Posted: Fri Aug 03, 2018 1:04 am
by sid5632
You're Warned.
How rude of you to threaten me. And who are you anyway?
Re: How to display full time in the winbox log
Posted: Fri Aug 03, 2018 1:17 am
by Sob
And who are you anyway?
Global moderator in stealth mode (not green as usual). I'd be careful.
![Wink ;)](./images/smilies/icon_wink.gif)
Re: How to display full time in the winbox log
Posted: Fri Aug 03, 2018 12:46 pm
by normis
It's a known issue that some windows behave this way with non standard size fonts, including HiDP fonts. A workaround is to open "new terminal" and type "/log print". We do know this issue exists and will work on some solution.
Re: How to display full time in the winbox log
Posted: Fri Aug 03, 2018 1:15 pm
by pe1chl
It would be nice when something is done about the font setting in general.
Now that I have a new monitor with higher resolution, the font gets very small.
Of course it is nice to have more entries on the screen, but scaling the whole thing (like a modern browser can) would be nice.
Before too much work is spent on winbox, please also consider to port the whole thing (look and feel and functionality) into webfig,
as that would solve problems like this automatically.
Re: How to display full time in the winbox log
Posted: Mon Aug 06, 2018 6:19 am
by iammecn
I am using the Simplified Chinese system. I can't change the font of the whole system for this application, and all other software is not available.
Re: How to display full time in the winbox log
Posted: Mon Aug 06, 2018 10:21 am
by pe1chl
While I was debugging my problem under Linux/Wine I was searching and asking for the name of the font that
winbox uses so I could maybe replace only that font, but nothing came about.
It would be best when the used font would be settable somehow, so you could add the correct font to the
system and select it.
But, this application appears to be of the old style that does not work with scaling etc. We have a couple of
such applications at work and they are a nuisance when having modern displays (high res) and/or some users
with limited eyesight. Fortunately most applications move to the cloud and use a web browser, and web browsers
are much more advanced in scaling.
Re: How to display full time in the winbox log
Posted: Mon Aug 06, 2018 3:41 pm
by Sob
We do know this issue exists and will work on some solution.
It seems to me that all what's needed it to take the date string, measure width for current font (I remember there was some Windows API function for it) and adjust column width accordingly. Do it once when WinBox starts and problem solved for any possible font.
Re: How to display full time in the winbox log
Posted: Mon Aug 06, 2018 4:50 pm
by pe1chl
We do know this issue exists and will work on some solution.
It seems to me that all what's needed it to take the date string, measure width for current font (I remember there was some Windows API function for it) and adjust column width accordingly. Do it once when WinBox starts and problem solved for any possible font.
No, it is just a special case of a problem occurring all over the place, and the length of the formatted string depends on the actual content.
It is extra annoying in this case because the user cannot change the column width in the log display (fix that!) but it also occurs in dialogs where it is not a column.
The whole user interface does not scale.
Re: How to display full time in the winbox log
Posted: Mon Aug 06, 2018 5:00 pm
by Sob
Ok, sorry, I thought it was just this column. The text there is predictable and measuring e.g. "May/30/2018 23:59:59" would be enough.