Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Integrated logs for aspnet and wilson #331

Closed

Description

@tushargupta51

Microsoft.Aspnet.Authentication.OpenIdConnect uses ILogger to log events whereas Wilson uses EventSource based logging. Currently, there is no easy way for a user using OIDC to get an integrated log from both aspnet and wilson (OIDC takes a hard dependency on Wilson). They have to configure both the loggers separately and it is very difficult to debug using the separated logs.

Activity

  1. leastprivilege commented on Jul 2, 2015

    @leastprivilege
    Contributor

    Oh really - why is that? Must be an artifact from the Katana version.

  2. kevinchalet commented on Jul 2, 2015

    @kevinchalet
    Contributor

    @leastprivilege ILogger is part of the new logging block and has nothing to do with Katana: https://github.com/aspnet/Logging 😄

  3. leastprivilege commented on Jul 2, 2015

    @leastprivilege
    Contributor

    Oh really? ;) So who is using EventSource then - and why?

  4. kevinchalet commented on Jul 2, 2015

    @kevinchalet
    Contributor

    EventSource is used by Wilson for its internal logging.

    Why? I dunno: #258 (comment)

  5. brentschmaltz commented on Jul 3, 2015

    @brentschmaltz
    Contributor

    Because ILogger is not available for some of the customers of Wilson.

  6. kevinchalet commented on Jul 3, 2015

    @kevinchalet
    Contributor

    Then it might be a good idea to list those targets and add them to aspnet/Logger.

    /cc @Eilon

  7. tushargupta51 commented on Jul 6, 2015

    @tushargupta51
    ContributorAuthor

    Aligning the logging experience of Wilson with ADAL is one reason. ADAL uses EventSource.

  8. Eilon commented on Sep 3, 2015

    @Eilon
    Contributor

    Both ASP.NET 5 components and Wilson can (or will be able to) write to EventSource, and that is the best way to get unified logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions