Results 1 to 2 of 2

Thread: Problem with Logging in Windows service Example

  1. #1
    Join Date
    May 2006
    Posts
    36

    Default Problem with Logging in Windows service Example

    Hi,

    Has anyone gotten logging to work with a Spring Windows Service. I'm using the 5/15 nightly build and I've tried every option I know of to get the logging to work in the example project.

    If anyone is logging from a Windows Service I would really appreciate and example or some pointers.

    Thanks,

    -Shane

  2. #2
    Join Date
    May 2006
    Posts
    36

    Default

    As a follow up, I was able to get logging to work with DebugViewer using:

    <common>
    <logging>
    <factoryAdapter type="Common.Logging.Simple.TraceLoggerFactoryAdap ter, Common.Logging">
    <arg key="level" value="DEBUG" />
    </factoryAdapter>
    </logging>
    </common>

    I still haven't figured out how to log to a file in a Windows service which is what I ultimately need to do.

    -Shane

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •