Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
My Umbraco version 7.5.11 assembly: 1.0.6274.27352
I have noticed a problem that random files older then 24 hours are missing log entries. So my guess is, it must be a bug.
Logging works fine but next day archived file is truncated and so is umbracoLog table.
Can anyone help ?
Hi Tajamal
Can you check please /App_Data/Logs folder, are there files that you need?
Thanks,
Alex
Hi Alex
Files are not missing but log entries are missing.
Current log entries for today are present in the file and looks fine.
Log entries are in files, are they?
Older log files does not have log entries.
Are there any settings that I can set, where do you set any limitations and what are default settings ?
My log4net.config file:
<log4net> <root> <priority value="Info"/> <appender-ref ref="AsynchronousLog4NetAppender" /> </root> <appender name="rollingFile" type="log4net.Appender.RollingFileAppender"> <file type="log4net.Util.PatternString" value="App_Data\Logs\UmbracoTraceLog.%property{log4net:HostName}.txt" /> <lockingModel type="log4net.Appender.FileAppender+MinimalLock" /> <appendToFile value="true" /> <rollingStyle value="Date" /> <maximumFileSize value="5MB" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value=" %date [P%property{processId}/D%property{appDomainId}/T%thread] %-5level %logger - %message%newline" /> </layout> <encoding value="utf-8" /> </appender> <appender name="AsynchronousLog4NetAppender" type="Umbraco.Core.Logging.ParallelForwardingAppender,Umbraco.Core"> <appender-ref ref="rollingFile" /> </appender> <!--Here you can change the way logging works for certain namespaces --> <logger name="NHibernate"> <level value="WARN" /> </logger> </log4net>
Hi,
I am having the exact same issue, with the exact same Umbraco version. Did you find a fix for it?
Thanks!
Puck
Hi all.
We got a similar issue on Umbraco version 7.6.3 assembly: 1.0.6361.21154
The current day log has everything logged, but when it's being archived, it only contains about 25% of the original content.
We have been trying to mess around with the log4net settings without luck.
So i hope someone since 2018 have found a solution :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
tracelog cleared
My Umbraco version 7.5.11 assembly: 1.0.6274.27352
I have noticed a problem that random files older then 24 hours are missing log entries. So my guess is, it must be a bug.
Logging works fine but next day archived file is truncated and so is umbracoLog table.
Can anyone help ?
Hi Tajamal
Can you check please /App_Data/Logs folder, are there files that you need?
Thanks,
Alex
Hi Alex
Files are not missing but log entries are missing.
Current log entries for today are present in the file and looks fine.
Log entries are in files, are they?
Hi Alex
Older log files does not have log entries.
Are there any settings that I can set, where do you set any limitations and what are default settings ?
My log4net.config file:
Hi,
I am having the exact same issue, with the exact same Umbraco version. Did you find a fix for it?
Thanks!
Puck
Hi all.
We got a similar issue on Umbraco version 7.6.3 assembly: 1.0.6361.21154
The current day log has everything logged, but when it's being archived, it only contains about 25% of the original content.
We have been trying to mess around with the log4net settings without luck.
So i hope someone since 2018 have found a solution :)
is working on a reply...