-
Notifications
You must be signed in to change notification settings - Fork 794
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
SeriLog > Seq: Not always working on server? #625
Comments
Hi Keith, It's possible you're hitting the payload size limit on the Seq server; you can check this by increasing the value in Settings > System > Raw event payload limit. (Note that after changing this value you may need to wait a little while for the app to retry, unless you can restart the app.) If this doesn't do the trick, is there any way you can collect output from SelfLog? Regards, |
I can add SelfLog. Will also mean rolling out upgrades to all environments. That way we can web.config control if SelfLog is being used or not. Hopefully today (late) I can get that rolled out. Looking at the memory it appears it should be ok. 1MB should cover us. Also, the 134MB Free HD space should be adequate. We are not pounding Seq that hard (yet). |
Regarding the 1 MB, it can be quite surprising how big some serialized log messages can get; I think 1 MB was a bit low for the default in Seq, so it will be 10 MB in Seq 3.0 when that is ready. Did you end up with any more information out of SelfLog? Cheers! |
I finally got logging turned on, found a problem talking to the Seq server. Got the ports punched open (took 2 tries for IT to do it right) and things started flowing. 10MB? Hmm. OK, I can see that but right now we do not have anything except exceptions that are bigger than 100KB! Our first consumer of our new APIs are mobile clients so we targeted small. Still tracking down a few moving pieces that don't seem to be logging and nothing is dropping into Serilog's selflog yet either... |
Great, thanks for the follow-up. Let us know how you go! :-) |
Hi Keith - any update here? Assuming all is good - let me know if you're still seeing any issues and we'll reopen. |
Found several problems with the use of the debug log. Chief amongst them Thanks! [image: --] On Thu, Feb 11, 2016 at 2:47 PM, Nicholas Blumhardt <
|
Thanks Keith 👍 |
When running in debug mode locally I have absolutely no complaints. However, I just rolled out 6 instances of the apps (Web APIs) and one API will write while the other does not. I don't have anything overly complex. I am also using LibLog to allow the consumed libraries to log on the initial logger.
How can I find out what is going on?
In the OWIN Startup I initialize my logger:
The Initialize looks like:
I have a [Log] attribute on each controller at the class level to capture the entrance and exit of each Controller/Action. On Web API 1, works like a charm. On Web API 2, nothing gets to Seq but the rolling file is populated. That code looks like:
Thoughts?
The text was updated successfully, but these errors were encountered: