Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

...the log record is too big #89

Open
nathangary opened this issue Dec 8, 2021 · 13 comments
Open

...the log record is too big #89

nathangary opened this issue Dec 8, 2021 · 13 comments

Comments

@nathangary
Copy link

hello.
how to load more?

@sevdokimov
Copy link
Owner

not implemented yet.

@nathangary
Copy link
Author

i can see the entire log with logviewer.sh.
but,springboot can't.

@sevdokimov
Copy link
Owner

Could you attach the screenshots where you see the entire log? The view should be same.

@nathangary
Copy link
Author

image
image

@nathangary
Copy link
Author

Look at the picture above.

@nathangary
Copy link
Author

hello,
help.

@sevdokimov
Copy link
Owner

The format of the log was not detected, so log-viewer shows each line as a separate record. No big multiline records, that's why no "the log record is too big..".
I'll add the ability to load hidden parts of big events in the next build.

What is [-] at the beginning of each line? Is it some field with "-" value by default? or it is just 3 characters marking the line begin?

@nathangary
Copy link
Author

why can SpringBoot detect log formats?

@nathangary
Copy link
Author

image
this is right

@nathangary
Copy link
Author

image
this is wrong.
Does it have to do with the version?

@sevdokimov
Copy link
Owner

why can SpringBoot detect log formats?

Log Viewer looks at the log configuration.
On the screenshot above, Log Viewer perceives the text as one line. Most probably it extracted the log format from the log configuration incorrectly. Could you set a breakpoint on com.logviewer.config.LogViewerAutoConfig.loadLogConfiguration() method and check the detected format? LogViewerAutoConfig.loadLogConfiguration() returns the list of configured log files with formats.

@sevdokimov
Copy link
Owner

You can disable the default log detection using log-viewer.disable-default-configuration-loader=true property and implement the custom com.logviewer.logLibs.LogConfigurationLoader.

@nathangary
Copy link
Author

Thank you!
I'll try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants