home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Area 51 - Testing Area
switch to a new logging framework (Log4Net)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="gibman" data-source="post: 916068" data-attributes="member: 25430"><p>about log4net.. we really need this in tve3.5 as well as in <a href="mailto:tve3.5@mp2">tve3.5@mp2</a> <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p> </p><p> </p><p></p><p></p><p> </p><p> </p><p>about logging performance, how does it work behinds the curtains ?</p><p>ideally it should be an "in memory queue" of log items.</p><p>then a threaded static logger class would pop those queued log items and commit them to disk, one at a time.</p><p>this would make calls to log very cheap performance wise.</p><p> </p><p>so an encapsulation of log4net would be needed here.</p><p> </p><p>I've already done similar work for an asynch mailer class at work.</p><p>send mail to queue and process it in a thread, then dispatch mails one at a time.</p><p>could easily be modded to take care of logging instead of mailing.</p><p> </p><p>/gibman</p></blockquote><p></p>
[QUOTE="gibman, post: 916068, member: 25430"] about log4net.. we really need this in tve3.5 as well as in [EMAIL]tve3.5@mp2[/EMAIL] :) about logging performance, how does it work behinds the curtains ? ideally it should be an "in memory queue" of log items. then a threaded static logger class would pop those queued log items and commit them to disk, one at a time. this would make calls to log very cheap performance wise. so an encapsulation of log4net would be needed here. I've already done similar work for an asynch mailer class at work. send mail to queue and process it in a thread, then dispatch mails one at a time. could easily be modded to take care of logging instead of mailing. /gibman [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Area 51 - Testing Area
switch to a new logging framework (Log4Net)
Contact us
RSS
Top
Bottom