[libcalamares] Rename the log file
This commit is contained in:
parent
0f289e2552
commit
cdf80615b8
@ -44,7 +44,12 @@ CalamaresApplication::CalamaresApplication( int& argc, char* argv[] )
|
|||||||
, m_moduleManager( nullptr )
|
, m_moduleManager( nullptr )
|
||||||
, m_debugMode( false )
|
, m_debugMode( false )
|
||||||
{
|
{
|
||||||
setOrganizationName( QLatin1String( CALAMARES_ORGANIZATION_NAME ) );
|
// Setting the organization name makes the default cache
|
||||||
|
// directory -- where Calamares stores logs, for instance --
|
||||||
|
// <org>/<app>/, so we end up with ~/.cache/Calamares/calamares/
|
||||||
|
// which is excessively squidly.
|
||||||
|
//
|
||||||
|
// setOrganizationName( QLatin1String( CALAMARES_ORGANIZATION_NAME ) );
|
||||||
setOrganizationDomain( QLatin1String( CALAMARES_ORGANIZATION_DOMAIN ) );
|
setOrganizationDomain( QLatin1String( CALAMARES_ORGANIZATION_DOMAIN ) );
|
||||||
setApplicationName( QLatin1String( CALAMARES_APPLICATION_NAME ) );
|
setApplicationName( QLatin1String( CALAMARES_APPLICATION_NAME ) );
|
||||||
setApplicationVersion( QLatin1String( CALAMARES_VERSION ) );
|
setApplicationVersion( QLatin1String( CALAMARES_VERSION ) );
|
||||||
|
@ -119,7 +119,7 @@ CalamaresLogHandler( QtMsgType type, const QMessageLogContext& context, const QS
|
|||||||
QString
|
QString
|
||||||
logFile()
|
logFile()
|
||||||
{
|
{
|
||||||
return CalamaresUtils::appLogDir().filePath( "Calamares.log" );
|
return CalamaresUtils::appLogDir().filePath( "session.log" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user