Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andrew Vennells 16 posts 101 karma points
    Aug 27, 2015 @ 05:13
    Andrew Vennells
    0

    Can I change CourierTraceLog Log Directory?

    I have created a virtual directory for my appdata folder and found I had to set an absolute path in the log4net.config for the UmbracoTraceLogs to write to the virtual directory. However; CourierTraceLog is still writing to the AppData\Logs folder under my route directory. It only writes this line:

    2015-08-27 14:02:06,446 [41] DEBUG Umbraco.Courier.Core.EventManager - [Thread 49] Unloading (count: 0)

    I've set in the courier.config but it still continues to write this line.

    Can I change where the CourierTraceLog files are writted to, or even stop this log file from being created?

  • Paul Sterling 719 posts 1556 karma points MVP 9x admin c-trib
    Sep 01, 2015 @ 08:54
    Paul Sterling
    100

    @Andrew

    Courier uses the default config unless a file with alternate settings is found at

    ~/Config/courier.log4net.config

    So, assuming you've already updated the log4net.config file in that location, you can use the same pattern for courier, with the specific name as above.

  • Andrew Vennells 16 posts 101 karma points
    Sep 04, 2015 @ 02:18
    Andrew Vennells
    0

    @Paul Sterling

    Thank you. Adding the ~/Config/courier.log4net.config worked. However, now I still have the courier packages being created under the application root folder:

    app_data\courier\revisions*

    Is there a way to configure where these are stored?

  • Paul Sterling 719 posts 1556 karma points MVP 9x admin c-trib
    Sep 10, 2015 @ 21:43
    Paul Sterling
    0

    @Andrew

    No, the folder Courier uses for it's own data is not configurable.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies