AuthLogger causes messages from using apps/libraries to go to authentication.log as well

Bug #1175289 reported by dobey
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntuone-credentials (Ubuntu)
Fix Released
High
dobey

Bug Description

Due to the way the logging APIs in Qt work, the implementation of a thin wrapper API to implement a singleton log message handler in libubuntuoneauth results in all messages in the running program, going to the same log file. We need a solution so that only the appropriate messages from the library itself go here, and other log messages go to their respectively correct places.

Tags: u1-notrack

Related branches

Dave Morley (davmor2)
tags: added: u1-notrack
dobey (dobey)
summary: - AuthLogger causes messages from using apps/libarries to go to
+ AuthLogger causes messages from using apps/libraries to go to
authentication.log as well
Revision history for this message
Cris Dywan (kalikiana) wrote :

Importing UbuntuOne disables: qWarn, qDebug, console.log, QML errors
Setting U1_DEBUG=1 re-enables console output for qDebug and console.log. It additionally logs all messages to ~/.cache/ubuntuone/log/authentication.log

dobey (dobey)
Changed in ubuntuone-credentials:
importance: Undecided → High
assignee: nobody → Rodney Dawes (dobey)
status: Triaged → In Progress
affects: ubuntuone-credentials → ubuntuone-credentials (Ubuntu)
Changed in ubuntuone-credentials (Ubuntu):
assignee: Rodney Dawes (dobey) → nobody
assignee: nobody → Rodney Dawes (dobey)
dobey (dobey)
Changed in ubuntuone-credentials (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (8.0 KiB)

This bug was fixed in the package ubuntuone-credentials - 14.04+14.04.20140306

---------------
ubuntuone-credentials (14.04+14.04.20140306) trusty; urgency=low

  [ Diego Sarmentero ]
  * adding files
  * ssolib files
  * adding license
  * SSO Lib working
  * new folder structure
  * updating .pro
  * Fixing some design issues.
  * Improve Error handling in the application as requested by design.
  * Support urls in the --picture argument, to handle download of the
    image from this application.
  * Fix UI flow requested by design for Returning Customers.

  [ Leo Arias ]
  * Cleaned the autopilot tests.
  * Refactor the fake servers to be a thread on the same process,
    started from a fixture on the test setup.
  * Added missing files from previous autopilot fixtures MP. .

  [ Ubuntu daily release ]
  * New rebuild forced

  [ CI bot ]
  * No change rebuild against Qt 5.2.1.

  [ Brian Curtin ]
  * Update the tests.pro file to work with changes to how the library is
    built.
  * Add more tests.

  [ Michael McCracken ]
  * Simplify header layout to avoid issues in packaging. (LP: #1190782).
    (LP: #1190782)
  * Improvements to available slots and signals on ssoservice object.
  * Fixes for registration
  * mark two methods of Token as const, and fix a leak from oauth
    library.
  * Add QML plugin that wraps login/register and signUrl functionality
    of libubuntuoneauth, and accompanying QML UI prototype
  * Add support for two-factor auth to the ssoservice and QML plugin
    (LP: #1197081). (LP: #1197081)
  * Add error signal for failure cases in Network class - covers
    connection failures.
  * Improve UI, better support embedding into external QML, and add
    embedding example code.
  * Fix credential deletion and expose it via QML plugin.
  * Validate input and show error messages for invalid email, short
    password, etc.
  * add cmake rule to generate qmltypes file for qtcreator integration.
  * Make background of embeddable component transparent, and use smaller
    font sizes to fit better on small screens.
  * Fix typo in signal connection for handleError.
  * set signon plugin name to 'ubuntuoneplugin' as required by the
    signond plugin loader.
  * Ensure initial value of _state variable is IDLE.
  * Add UOA provider plug-in to house login/register UI. Move that UI
    from credentials service plug-in.
  * Fix example code for QML plugin to no longer try to show the
    CredentialsUI that doesn't exist anymore, and improve its comments
    to better explain the remaining API.
  * Re-add a regexp validator to the email textfield.
  * Add minimal Qt/C++ example app and README describing how to use
    libubuntuoneauth to access creds and sign API requests.
  * Add cancel/continue buttons back.
  * Fix spacing and margins of login/register UI. Use default fontSizes
    pending design input.
  * Provide faster visual feedback of activity after clicking
    'continue'.
  * Fix flickable scrolling. Fix sizing of nested Columns in LoginForm
    and RegisterForm, and use correct anchors.
  * Improve integration with Online Accounts System settings module.
  * Fix registration errors caused by scrambling parameters due ...

Read more...

Changed in ubuntuone-credentials (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.