Git Product home page Git Product logo

Comments (7)

 avatar commented on July 29, 2024 1

@aschaible It works just fine. Make sure that the bufferSize is set (default is 512). Also you can manually flush the buffer using the code below

ILoggerRepository rep = LogManager.GetRepository();
foreach (IAppender appender in rep.GetAppenders())
{
    var buffered = appender as BufferingAppenderSkeleton;
    if (buffered != null)
    {
        buffered.Flush();
    }
}

from log4net.azure.

piazera avatar piazera commented on July 29, 2024

I have the exact same issue.
I've set up 3 log appenders:

  • blob
  • table
  • file (for debug)

The file appender works fine, while the azure ones create the logging table or the blob but never dumps anything there.

from log4net.azure.

mutabot avatar mutabot commented on July 29, 2024

May be a buffering issue.
Try adding

from log4net.azure.

limlim1986 avatar limlim1986 commented on July 29, 2024

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.

from log4net.azure.

 avatar commented on July 29, 2024

Another bufferSize issue?

from log4net.azure.

aschaible avatar aschaible commented on July 29, 2024

Same issue, not working. Any chance this gets fixed?

from log4net.azure.

stemarie avatar stemarie commented on July 29, 2024

The only thing that I see that could be done is perhaps flush on the Dispose method.
I'd recommend changing the bufferSize instead

from log4net.azure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.