-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work. #39
Comments
I have the exact same issue.
The file appender works fine, while the azure ones create the logging table or the blob but never dumps anything there. |
May be a buffering issue. |
Got the same issue. It creates the table but nothing is written to it. If i use the example console application from this repo it works fine but when using the nuget package it wont write any logs to the table. |
Another |
Same issue, not working. Any chance this gets fixed? |
@aschaible It works just fine. Make sure that the ILoggerRepository rep = LogManager.GetRepository();
foreach (IAppender appender in rep.GetAppenders())
{
var buffered = appender as BufferingAppenderSkeleton;
if (buffered != null)
{
buffered.Flush();
}
} |
The only thing that I see that could be done is perhaps flush on the Dispose method. |
I have installed the package. The appender creates the logging table, but never actually writes anything to it. Below is the setup for confirmation:
<log4net> <appender name="AzureTableAppender" type="log4net.Appender.AzureTableAppender, log4net.Appender.Azure"> <param name="TableName" value="MobileLog"/> <param name="ConnectionStringName" value="Azure_Logging" /> <!-- You can specify this to make each LogProperty as separate Column in TableStorage, Default: all Custom Properties were logged into one single field --> <param name="PropAsColumn" value="true" /> <param name="PartitionKeyType" value="LoggerName" /> </appender> <root> <level value="INFO" /> <appender-ref ref="AzureTableAppender" /> </root> </log4net>
The text was updated successfully, but these errors were encountered: