tFullPath(m_baseFileName); //m_baseFileName = file path
fileName = System.IO.Path.GetFileName(fullPath);
}
ArrayList arrayFiles = GetExistingFiles(fullPath);
InitializeRollBackups(fileName, arrayFiles);
> Rolling log file is overwritten when
Hello,
This is the first time I contribute to an open source project, your
assistance will be much appreciated.
I read your FAQ and I believe I'm doing things in the right manner.
Please let me know otherwise.
While using version 1.2.13, I'm experiencing the issue described in this
bug:
htt
Hello,
This is the first time I contribute to an open source project, your
assistance will be much appreciated.
I read your FAQ and I believe I'm doing things in the right manner.
Please let me know otherwise.
While using version 1.2.13, I'm experiencing the issue described in this
bug:
htt
LOG" (due
to preserveLogFileNameExtension = true setting file name ends with "5.log" and
not "log.5")...
So code in RollOverRenameFiles method should be corrected to take account of
such a case...
----
Should I create new tickets for this ca
tension ()...
> Rolling log file is overwritten when application is restarted
> -
>
> Key: LOG4NET-378
> URL: https://issues.apache.org/jira/browse/LOG4NET-378
> P
pender:
https://issues.apache.org/jira/browse/LOG4NET-367
> Rolling log file is overwritten when application is restarted
> -
>
> Key: LOG4NET-378
> URL: https://issues.apach
in a folder of
c:\Logs\MMdd\Adaptor\ MMdd being a folder named 20130620 how can i
achieve that ?
> Rolling log file is overwritten when application is restarted
> -
>
>
t of and not part
of the .
Also, is specified twice.
My working config looks like this. Files are named "flotto.MM.x.log"
utf-8
> Rolling log file is
anks.
> Rolling log file is overwritten when application is restarted
> -
>
> Key: LOG4NET-378
> URL: https://issues.apache.org/jira/browse/LOG4NET-378
>
. Any svn revision after 1486596 should do (as pointed
out in the above comment
https://issues.apache.org/jira/browse/LOG4NET-378?focusedCommentId=13667805&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13667805).
> Rolling log file is overwritten
an i get a new log4net.dll
with the above fix ?
Thanks.
> Rolling log file is overwritten when application is restarted
> -
>
> Key: LOG4NET-378
> URL: https://issues.apache.org/
[
https://issues.apache.org/jira/browse/LOG4NET-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Horst Beham closed LOG4NET-378.
---
Works now as expected in SVN trunk revision 1486596
> Rolling log file is overwrit
, quite complicated. Luckily we had someone who could wrap his mind around
it. :-) I'm resolving the issue. Feel free to close the issue if you think that
it is fixed for good.
> Rolling log file is overwritten when application is r
.StartsWith("flotto.log.20130527"), which returns true.
> Rolling log file is overwritten when application is restarted
> -
>
> Key: LOG4NET-378
> URL: https://issues.apache.org/ji
[
https://issues.apache.org/jira/browse/LOG4NET-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominik Psenner updated LOG4NET-378:
Priority: Critical (was: Minor)
> Rolling log file is overwritten when applicat
cial case of LOG4NET-369 and LOG4NET-337. Can you
confirm that? I commited your proposed fix as revision 1486596.
> Rolling log file is overwritten when application is restarted
> -
>
>
ppender.IDateTime
{
public DateTime Now { get { return new DateTime(2013, 5, 27, 13, 06, 00);
} }
}
#endregion
> Rolling log file is overwritten when application is restarted
> -
>
>
LogLog.Debug(declaringType, "Ignoring file ["+curFileName+"]
because it is from a different date period");
return;
}
}
> Rolling log file is overwritten when application is restarted
> -
ing and the file only contains log
statements since the process restarted.
When I restart the process again, file 1.log is being truncated again even
though it's currently only 100KB in size.
> Rolling log file is
ion from 1.log is missing and the file only contains log
statements since the process restarted.
When I restart the process again, file 1.log is being truncated again even
though it's currently only 100KB in size.
> Rolling log file is overwritten when ap
[
https://issues.apache.org/jira/browse/LOG4NET-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominik Psenner updated LOG4NET-378:
Component/s: Appenders
> Rolling log file is overwritten when application
log events are really missing? Maybe rolling
did everything as expected and just happened to roll an empty file?
> Rolling log file is overwritten when application is restarted
> -
>
>
was (Author: nachbarslumpi):
Have you looked into the file if log events are really missing? Maybe
rolling did everything as expected and just happened to roll an empty file?
> Rolling log file is overwritten wh
n by size).
> Rolling log file is overwritten when application is restarted
> -
>
> Key: LOG4NET-378
> URL: https://issues.apache.org/jira/browse/LOG4NET-378
> Project: Log4net
re than 1 segment, data gets overwritten
> Rolling log file is overwritten when application is restarted
> -
>
> Key: LOG4NET-378
> URL: https://issues.apache.org
sing I'd expect the logger to never
overwrite any existing log data. Even more confusing is the fact that it keeps
file #0, #2 and #3 and starts with overwriting #1.
> Rolling log file is overwritten when applica
the issue.
> Rolling log file is overwritten when application is restarted
> -
>
> Key: LOG4NET-378
> URL: https://issues.apache.org/jira/browse/LOG4NET-378
> Project: Lo
rtainly a severe problem for me. If I can help in
any way resolving this issue, I'm happy to do so.
Regards,
Horst
> Rolling log file is overwritten when application is restarted
> -
>
>
4mb within a minute.
> Rolling log file is overwritten when application is restarted
> -
>
> Key: LOG4NET-378
> URL: https://issues.apache.org/jira/browse/LOG4NET-378
&g
what you told him to. If you want to keep files,
you could fix your datePattern to contain a more accurate timestamp:
This way the file will get overwritten only if the application logs more than
4mb within a minute.
> Rolling log file is overwritten when application is re
[
https://issues.apache.org/jira/browse/LOG4NET-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominik Psenner updated LOG4NET-378:
Priority: Minor (was: Blocker)
> Rolling log file is overwritten when application
[
https://issues.apache.org/jira/browse/LOG4NET-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominik Psenner updated LOG4NET-378:
Affects Version/s: 1.2.11
> Rolling log file is overwritten when application
ile is overwritten when application is restarted
> -
>
> Key: LOG4NET-378
> URL: https://issues.apache.org/jira/browse/LOG4NET-378
> Project: Log4net
> Issue Type: Bug
[
https://issues.apache.org/jira/browse/LOG4NET-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominik Psenner updated LOG4NET-378:
Affects Version/s: (was: 1.2.11)
> Rolling log file is overwritten w
Horst Beham created LOG4NET-378:
---
Summary: Rolling log file is overwritten when application is
restarted
Key: LOG4NET-378
URL: https://issues.apache.org/jira/browse/LOG4NET-378
Project: Log4net
35 matches
Mail list logo