~thomas-voss/location-service/make-trials-in-gps-test-configurable-and-output-test-summary

« back to all changes in this revision

Viewing changes to src/location_service/com/ubuntu/location/service/trust_store_permission_manager.cpp

  • Committer: CI bot
  • Author(s): thomas-voss
  • Date: 2014-08-18 08:11:34 UTC
  • mfrom: (92.3.3 fix-1356814)
  • Revision ID: ps-jenkins@lists.canonical.com-20140818081134-pwbsowtoz9o0bmdk
Clean up CachedRadioCell and CachedWirelessNetwork.
Switch to logging to syslog. Fixes: 1356814
Approved by: PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
        profile = app_armor_profile_resolver(core::trust::Pid{credentials.pid});
126
126
    } catch(const std::exception& e)
127
127
    {
128
 
        LOG(ERROR) << "Could not resolve PID " << credentials.pid << " to apparmor profile: " << e.what();
 
128
        SYSLOG(ERROR) << "Could not resolve PID " << credentials.pid << " to apparmor profile: " << e.what();
129
129
        return service::PermissionManager::Result::rejected;
130
130
    } catch(...)
131
131
    {
132
 
        LOG(ERROR) << "Could not resolve PID " << credentials.pid << " to apparmor profile.";
 
132
        SYSLOG(ERROR) << "Could not resolve PID " << credentials.pid << " to apparmor profile.";
133
133
        return service::PermissionManager::Result::rejected;
134
134
    }
135
135