summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-05 14:34:08 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-05 14:34:08 +0100
commitcd5f653ad8fa87727bf3ab12b90a41babaaf1ee5 (patch)
tree4e98efffdf24157afe8601a8c381dcc56a0ad354 /runtime
parente4ca8a3119ece504819605b340a3f5ba36b3eab6 (diff)
parent6a99be469643ef0214729391f9cef4867b8e9fca (diff)
downloadrsyslog-cd5f653ad8fa87727bf3ab12b90a41babaaf1ee5.tar.gz
rsyslog-cd5f653ad8fa87727bf3ab12b90a41babaaf1ee5.tar.xz
rsyslog-cd5f653ad8fa87727bf3ab12b90a41babaaf1ee5.zip
Merge branch 'v4-beta' into v4-devel
Conflicts: tests/Makefile.am
Diffstat (limited to 'runtime')
-rw-r--r--runtime/stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/stream.c b/runtime/stream.c
index ac90df28..2d1e9380 100644
--- a/runtime/stream.c
+++ b/runtime/stream.c
@@ -211,6 +211,7 @@ doPhysOpen(strm_t *pThis)
}
pThis->fd = open((char*)pThis->pszCurrFName, iFlags, pThis->tOpenMode);
+ DBGPRINTF("file '%s' opened as #%d with mode %d\n", pThis->pszCurrFName, pThis->fd, pThis->tOpenMode);
if(pThis->fd == -1) {
int ierrnoSave = errno;
dbgoprint((obj_t*) pThis, "open error %d, file '%s'\n", errno, pThis->pszCurrFName);