diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-10-11 18:35:50 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-10-11 19:57:40 +0300 |
commit | e519d7b58454d39fb39e4420872c9a677e1b2296 (patch) | |
tree | 7d381e7534e6adae686e8663b602bfc3cab147c3 /sal/osl/unx/file.cxx | |
parent | c387836fa6782c7efff9ade6bfa18fac21ec0e05 (diff) |
Change {read,write}FileAt() SAL_INFO calls to use a separate log area
Keep sal.file for the SAL_INFO logging of file system calls (open,
close, rename, etc), and use sal.fileio for the (very verbose) file
I/O.
Change-Id: I0e166d83e20921696a8a0880f9fcbbdec55053dd
Diffstat (limited to 'sal/osl/unx/file.cxx')
-rw-r--r-- | sal/osl/unx/file.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx index 6ef6196f8c37..62ed5ed734d0 100644 --- a/sal/osl/unx/file.cxx +++ b/sal/osl/unx/file.cxx @@ -425,7 +425,7 @@ oslFileError FileHandle_Impl::readFileAt( } size_t const bytes = std::min(m_buflen - bufpos, nBytesRequested); - SAL_INFO("sal.file", "FileHandle_Impl::readFileAt(" << m_fd << ", " << nOffset << ", " << bytes << ")"); + SAL_INFO("sal.fileio", "FileHandle_Impl::readFileAt(" << m_fd << ", " << nOffset << ", " << bytes << ")"); memcpy(&(buffer[*pBytesRead]), &(m_buffer[bufpos]), bytes); nBytesRequested -= bytes; @@ -500,7 +500,7 @@ oslFileError FileHandle_Impl::writeFileAt( } size_t const bytes = std::min(m_bufsiz - bufpos, nBytesToWrite); - SAL_INFO("sal.file", "FileHandle_Impl::writeFileAt(" << m_fd << ", " << nOffset << ", " << bytes << ")"); + SAL_INFO("sal.fileio", "FileHandle_Impl::writeFileAt(" << m_fd << ", " << nOffset << ", " << bytes << ")"); memcpy(&(m_buffer[bufpos]), &(buffer[*pBytesWritten]), bytes); nBytesToWrite -= bytes; |