Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 117985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:25:22+00:00 2026-05-11T03:25:22+00:00

I want to add some logging capability to a cf.net application running on WM6

  • 0

I want to add some logging capability to a cf.net application running on WM6 Pro. I’m looking at logging exceptions and some of the more sensitive sections of code. I would like to have logs stored both locally (i.e. on the device) and also have them reliably uploaded to a server as well (they will need to be queued, my app is occasionally connected).

Does anyone know if this possible with log4net or will I have to write my own logging system? Does anyone have any pointers?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T03:25:23+00:00Added an answer on May 11, 2026 at 3:25 am

    If you use log4net for this, DO NOT use the UDP appender option to log to a remote server. If the WM device is connected to a PC via ActiveSync and accessing the net through the PC, attempting to use UDP will crash ActiveSync in a way that requires a reboot of the PC and a soft reset of the WM device. I had a demo go horribly wrong because of this (we lost a huge contract).

    log4net may be great in other environments, but I’ve found it to be a PITA and not worth the trouble in Windows Mobile. You’re better off writing your own simple Logger class that uses a TextWriter to dump info into a text file (for local logging) or calls a webservice function on a remote server. You have total control over what gets written where, and you don’t need any Chainsaw nonsense just to read your logs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a website built with ASP.NET (3.5) and want add some level of
I want to add some Ajax -niceness to my Django-coded website. In my Django
I want to add some functionality track certain calls to ActiveX object methods in
I want to add some jQuery functionality to our sites where one piece of
I want to add some html in an email. I've tried the following. vFromName
I want to add some classes to a CodeIgniter project that aren't models, views,
i want to add some amounts which in my tuple. i want to take
I want to add some style to head tag in html page using javascript.
I have a view that I want to add some custom drawing to. I
In one of my worker threads I want to do some logging. The log

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.