Copied to clipboard

Flag this post as spam?

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


  • Heinz-Josef Lücking 1 post 21 karma points
    Apr 17, 2015 @ 14:31
    Heinz-Josef Lücking
    0

    Loading UmbracoTraceLog-yyyy-MM-dd.txt files

    We are using Umbraco 7.2.4. This Umbraco writes by default into tracelog files withe the pattern 

     UmbracoTraceLog-yyyy-MM-dd.txt"

    But this extension (version 2.1) loads files with the pattern

    UmbracoTraceLog.*

    This can be seen within the decompilated code

           public IEnumerable<LogFileItem> GetLogFiles()
            {
                string fullPath = HostingEnvironment.MapPath(LogFileService.BaseLogPath);
                List<LogFileItem> files = new List<LogFileItem>();
                string[] filenames = Directory.GetFiles(fullPath, "UmbracoTraceLog.*");

    With a little change (*) everythings works fine within 7.2.4 (Except that always the same logfilename is been used)

Please Sign in or register to post replies

Write your reply to:

Draft