diff options
author | Gerald Begumisa <ben_g@users.sourceforge.net> | 2008-03-28 09:16:04 +0000 |
---|---|---|
committer | Gerald Begumisa <ben_g@users.sourceforge.net> | 2008-03-28 09:16:04 +0000 |
commit | f5fce77e30949a7ca34a59d6f62afc5c6c37ee85 (patch) | |
tree | 8013a65b347553b47866140a0ae09be87039e60c /orkbasecxx | |
parent | 057840f43ee07b67813c8757d5f74b9007edc58f (diff) |
Modified the BatchProcessing tape processor to log permission change errors under the level ERROR and not INFO
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@531 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx')
-rw-r--r-- | orkbasecxx/BatchProcessing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/orkbasecxx/BatchProcessing.cpp b/orkbasecxx/BatchProcessing.cpp index a2361a1..e66c426 100644 --- a/orkbasecxx/BatchProcessing.cpp +++ b/orkbasecxx/BatchProcessing.cpp @@ -348,7 +348,7 @@ void BatchProcessing::ThreadHandler(void *args) CStdString logMsg; logMsg.Format("Error setting permissions of %s to %o: %s", audioFileName.c_str(), CONFIG.m_audioFilePermissions, strerror(errno)); - LOG4CXX_INFO(LOG.batchProcessingLog, "[" + trackingId + "] Th" + threadIdString + " " + logMsg); + LOG4CXX_ERROR(LOG.batchProcessingLog, "[" + trackingId + "] Th" + threadIdString + " " + logMsg); } } @@ -356,7 +356,7 @@ void BatchProcessing::ThreadHandler(void *args) if(FileSetOwnership(audioFileName, CONFIG.m_audioFileOwner, CONFIG.m_audioFileGroup)) { logMsg.Format("Error setting ownership and group of %s to %s:%s: %s", audioFileName.c_str(), CONFIG.m_audioFileOwner, CONFIG.m_audioFileGroup, strerror(errno)); - LOG4CXX_INFO(LOG.batchProcessingLog, "[" + trackingId + "] Th" + threadIdString + " " + logMsg); + LOG4CXX_ERROR(LOG.batchProcessingLog, "[" + trackingId + "] Th" + threadIdString + " " + logMsg); } } |