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

%newline not work in elmah xml storage #31

Open
KiarashS opened this issue Mar 29, 2014 · 2 comments
Open

%newline not work in elmah xml storage #31

KiarashS opened this issue Mar 29, 2014 · 2 comments

Comments

@KiarashS
Copy link

Hi,
Very thanks for jsnlog.

I have this config in web.config:

  <jsnlog serverSideMessageFormat="Request Id: %requestId %newline Url: %url %newline Logger: %logger %newline Level: %level %newline User Host Address(IP): %userHostAddress %newline User Agent: %userAgent %newline  Client UTC Date: %utcDate %newline Server UTC Date: %utcDateServer %newline %newline Message: %newline %message" serverSideLogger="JavascriptLogger">
  </jsnlog>

But %newline not work!
What is problem?

@mperdeck
Copy link
Owner

Hi,

I tried to reproduce the issue, but I can't.

I copied the properties from your email, so I now have this jsnlog element in my web.config:

I then had JSNLog log something to a text file, and I got the below, which looks good to me.

If you still have the problem, please let me know how I can reproduce it.

2014-03-31 23:28:48.4961 19 Fatal JavascriptLogger Request Id: 00000000-0000-0000-0a00-0080000000f6
Url: /jsnlog.logger
Logger: jsLogger
Level: 6000
User Host Address(IP): ::1
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36
Client UTC Date: 2014-03-31 12:28:48,464
Server UTC Date: 2014-03-31 12:28:48,467

Message:
log message

@KiarashS
Copy link
Author

Thanks for your attention.
No, i use xml storage on elmah.

@KiarashS KiarashS changed the title %newline not work %newline not work in elmah xml storage Jun 4, 2014
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