summaryrefslogtreecommitdiffstats
path: root/runtime/stream.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-05 14:34:21 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-05 14:34:21 +0100
commit4578dc6a2dc65112f4aaae1524f83cc9b075295d (patch)
tree7f86aaf79a9b4a77bfb297336b25f1f61007db72 /runtime/stream.c
parent6d9c54c7a2d4f07b0414082ef9681bd197ed6bde (diff)
parentcd5f653ad8fa87727bf3ab12b90a41babaaf1ee5 (diff)
downloadrsyslog-4578dc6a2dc65112f4aaae1524f83cc9b075295d.tar.gz
rsyslog-4578dc6a2dc65112f4aaae1524f83cc9b075295d.tar.xz
rsyslog-4578dc6a2dc65112f4aaae1524f83cc9b075295d.zip
Merge branch 'v4-devel' into tmp
Diffstat (limited to 'runtime/stream.c')
-rw-r--r--runtime/stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/stream.c b/runtime/stream.c
index cc460bf6..3673db91 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);