From 6aa482428ec301cfe45672d38b038fc92de7c4a7 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Fri, 23 Dec 2016 18:46:01 +0200 Subject: Make these SAL_INFO’s a bit more useful MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the same log area used in other printing code instead of the overly broad “vcl” one. Change-Id: Ie42f10597ae9aa7ee50dba2674c68842710ab360 Reviewed-on: https://gerrit.libreoffice.org/32386 Tested-by: Jenkins Reviewed-by: Khaled Hosny --- vcl/unx/generic/print/genprnpsp.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'vcl') diff --git a/vcl/unx/generic/print/genprnpsp.cxx b/vcl/unx/generic/print/genprnpsp.cxx index 460247a60fca..a8fb4d143acf 100644 --- a/vcl/unx/generic/print/genprnpsp.cxx +++ b/vcl/unx/generic/print/genprnpsp.cxx @@ -874,7 +874,7 @@ bool PspSalPrinter::StartJob( bool bDirect, ImplJobSetup* pJobSetup ) { - SAL_INFO( "vcl", "PspSalPrinter::StartJob"); + SAL_INFO( "vcl.unx.print", "PspSalPrinter::StartJob"); GetSalData()->m_pInstance->jobStartedPrinterUpdate(); m_bPdf = false; if (pFileName) @@ -931,7 +931,7 @@ bool PspSalPrinter::EndJob() else { bSuccess = m_aPrintJob.EndJob(); - SAL_INFO( "vcl", "PspSalPrinter::EndJob " << bSuccess); + SAL_INFO( "vcl.unx.print", "PspSalPrinter::EndJob " << bSuccess); if( bSuccess && m_bPdf ) { @@ -945,7 +945,7 @@ bool PspSalPrinter::EndJob() SalGraphics* PspSalPrinter::StartPage( ImplJobSetup* pJobSetup, bool ) { - SAL_INFO( "vcl", "PspSalPrinter::StartPage"); + SAL_INFO( "vcl.unx.print", "PspSalPrinter::StartPage"); JobData::constructFromStreamBuffer( pJobSetup->GetDriverData(), pJobSetup->GetDriverDataLen(), m_aJobData ); m_pGraphics = GetGenericInstance()->CreatePrintGraphics(); @@ -969,7 +969,7 @@ void PspSalPrinter::EndPage() { m_aPrintJob.EndPage(); m_aPrinterGfx.Clear(); - SAL_INFO( "vcl", "PspSalPrinter::EndPage"); + SAL_INFO( "vcl.unx.print", "PspSalPrinter::EndPage"); } sal_uLong PspSalPrinter::GetErrorCode() @@ -1016,7 +1016,7 @@ struct PDFPrintFile bool PspSalPrinter::StartJob( const OUString* i_pFileName, const OUString& i_rJobName, const OUString& i_rAppName, ImplJobSetup* i_pSetupData, vcl::PrinterController& i_rController ) { - SAL_INFO( "vcl", "StartJob with controller: pFilename = " << (i_pFileName ? *i_pFileName : "") ); + SAL_INFO( "vcl.unx.print", "StartJob with controller: pFilename = " << (i_pFileName ? *i_pFileName : "") ); // mark for endjob m_bIsPDFWriterJob = true; // reset IsLastPage @@ -1259,7 +1259,7 @@ bool PspSalPrinter::StartJob( const OUString* i_pFileName, const OUString& i_rJo for(PDFPrintFile & rPDFFile : aPDFFiles) { osl_removeFile( rPDFFile.maTmpURL.pData ); - SAL_INFO( "vcl", "removed print PDF file " << rPDFFile.maTmpURL ); + SAL_INFO( "vcl.unx.print", "removed print PDF file " << rPDFFile.maTmpURL ); } } -- cgit v1.2.3