Displaying 1 result from an estimated 1 matches for "flog_after".
2023 Jul 03
0
[PATCH] Add option --log-after to log after moving file into place
...ame;
#ifdef ICONV_CONST
extern iconv_t ic_chck;
@@ -271,6 +272,8 @@ void rwrite(enum logcode code, const char *buf, int len, int is_utf8)
* that the msg gets logged and then sent to stderr after that. */
if (am_daemon > 0 && code != FCLIENT)
code = FLOG;
+ } else if (code == FLOG_AFTER) {
+ code = FLOG;
} else if (send_msgs_to_gen) {
assert(!is_utf8);
/* Pass the message to our sibling in native charset. */
@@ -813,6 +816,12 @@ void log_item(enum logcode code, struct file_struct *file, int iflags, const cha
{
const char *s_or_r = am_sender ? "send" : "r...