search for: logfil

Displaying 20 results from an estimated 3439 matches for "logfil".

Did you mean: logfile
2007 Jan 15
1
Bug#406973: logtail misses lines in rotated file
Package: logtail Version: 1.2.52 Severity: normal Tags: patch Hi, When a logfile is rotated, logtail misses the lines logged between the last logtail run and the logfile rotation. The attached patch allows to set an alternate logfile that logtail tries to use as the old logfile if the inode has changed. It can be used as: logtail -f /var/log/syslog -a /var/log/syslog.1 (Ple...
2015 Jul 13
2
Bug#784880: [PATCH for-4.6] tools: libxl: Handle failure to create qemu dm logfile
If libxl_create_logfile fails for some reason then libxl__create_qemu_logfile previously just carried on and dereferenced the uninitialised logfile. Check for the error from libxl_create_logfile, which has already logged for us. This was reported as Debian bug #784880. Reported-by: Russell Coker <russell at coker.c...
2023 Apr 21
1
[PATCH] ocfs2: Fix wrong search logic in __ocfs2_resv_find_window
On Fri, Apr 21, 2023 at 03:35:01PM +0800, Joseph Qi wrote: > Hi, > Could you please share a reproducer? > Anyone could access & download the URL [1] (I wrote it in patch commit log) without register SUSE account. Please check attachment file, which I downloaded from [1] and modified under the BZ comment 1. The trigger method is also in comment 1, I copy here: ./defragfs_test.sh -d
2009 Jan 16
5
Manually rolling logfiles over
How can I do this w/o restarting services or rebooting? Thanks! jlc
2014 Nov 04
1
[PATCH] customize: firstboot: fix Linux log output
...le. --- customize/firstboot.ml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/customize/firstboot.ml b/customize/firstboot.ml index 89821f3..0b95708 100644 --- a/customize/firstboot.ml +++ b/customize/firstboot.ml @@ -50,8 +50,8 @@ d=%s/scripts d_done=%s/scripts-done logfile=~root/virt-sysprep-firstboot.log -echo \"$0\" \"$@\" 2>&1 | tee $logfile -echo \"Scripts dir: $d\" 2>&1 | tee $logfile +echo \"$0\" \"$@\" 2>&1 | tee -a $logfile +echo \"Scripts dir: $d\" 2>&1 | tee -a $logfi...
2006 Jun 07
5
File is nil
I don''t understand why my program does not get the file that I try to upload. It returns the following error when I try to upload a small file: NoMethodError in LogfileController#create You have a nil object when you didn''t expect it! The error occured while evaluating nil.original_filename #{RAILS_ROOT}/app/models/logfile.rb:9:in `file='' #{RAILS_ROOT}/app/controllers/logfile_controller.rb:31:in `create'' Request Parameter...
2018 Feb 15
3
using cat to log to file with sapply
Hi List, I am trying to write unsuccessfully to a logfile with cat. Here my example code: letters[1:5]->x logf<-"test.txt" cat('%%%%%%%%%%%%%%%%%%%%%%%%%%\n',file=logf) catf<-function(x,...,logfile='log.txt', append=TRUE){ cat(x,'\n', file=logfile, append=append)} testit<-function(x,...){ paste0('this...
2004 Aug 06
4
Webalizer + IceCast2 logfile?
Is it possible? Basically, I want to process the IceCast2 logfile in the same way as I process my Apache server logs? I tried a dry run, and it reported an error with regards to the "date" field - I am currently replacing the date field text "Eastern Standard Time" with the text "-400", to see if that would fix it (that how it...
2010 Jan 12
1
[PATCH] Adds the qemu log to the autotest output.
When an autotest finishes running, then the output for the qemu logfile in /var/log/libvirt/qemu/ is added to the output. Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- autotest.sh | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/autotest.sh b/autotest.sh index 7503be0..5ccdbbb 100755 --- a/autotest.sh +++ b/a...
2004 Aug 25
1
PDF printing with printing = CUPS
...there instead of default location. # Also send notification to user that file has "printed", to where and what name. # Since my users are in LDAP backend try to lookup Windows homedrive letter to use in # notification message else notifies with full server path to home directory. # LOGFILE=/tmp/pdf.log PDFBIN=`which ps2pdf` FILENAME= # this is borrowed from printpdf script for the filename PRINTTIME=`date +%b%d-%H%M%S` echo "Executable: $PDFBIN" > $LOGFILE echo "Arguments: |$1|$2|$3|$4|$5|$6|" >> $LOGFILE echo $# $PRINTTIME >> $LOGFILE #E...
2015 Jun 30
3
pdf-printer
...t; Slighty modified (other path, no uppercase), and all on one line. And > pdfprint.sh is located in /usr/bin and executable by all. > > I tried the print command manually (as root) and that works. > > Koenraad. This sounds like a permission problem, if you examine the script, the logfile is created here: # Print messages to stdout / logfile output () { if [ -z "$LOG" ] ; then echo -e "$(date "+%b %d %H:%M:%S") $*" else echo -e "$(date "+%b %d %H:%M:%S") $*" | tee -a "$LOG" fi } I think i...
2006 Sep 22
3
Rotating Dovecot's logfile
Any *BSD user on this list already having a means of rotating the dovecot logfile? What signal number do I need to send to the daemon to reopen its logfile? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhi...
2001 Oct 14
2
Samba 2.2.2 and logfiles
I'm having trouble with the logging in Samba 2.2.2. I usually specify the name of the logfile on the command line (e.g., "nmbd -D -l /path/to/logfiles"). This used to work with Samba 2.2.1a but does not work anymore with Samba 2.2.2. I could not find anything about changes to the logging mechanisms in the 2.2.2 announcement, so I am wondering what's wrong here. Specifying...
2005 Feb 23
0
printer access slow
...= spool file, %U = uid + GID, %m = machine name, %I = ip, %H = homedir print command = /usr/sbin/pdfprint %s %U %m %I %H '%J' use client driver = yes lpq command = lprm command = =============================== /usr/sbin/pdfprint: =============================== OUTPUTPATH=/usr/local/pdfs LOGFILE=$OUTPUTPATH/pdfcreate.rtf FILENAME="$2-$6.pdf" echo "converting file \"$6\", spooled to \"$1\" to file \"$FILENAME\" for user \"$2\" on machine \"$4\"... " >> $LOGFILE echo "" >> $LOGFILE /usr/bin/ps2pdf...
2003 Nov 15
2
Using the rsync checksums for handling large logfiles.
...ined this list, but I can't find any mention of this idea anywhere else, so I thought I'd just post here before getting too deep into programming and possibly reinventing the wheel. Here at Aber, we have around 30 unix and linux servers doing core services. Each one is maintaining its own logfiles and, for various reasons, we want to keep these on the servers' local disks, with each server having its own log rotation policy. We also have a box which acts as a central repository of logfiles. A script runs every 10 minutes on this box and pulls whatever's been appended to the logfile...
2003 Nov 17
1
rsync --daemon and logfile that can't be created
...good :-( Here'a a proposed patch to fallback to syslog if opening the log file fails: --- ../cvstree/rsync/log.c 2003-03-25 03:28:54.000000000 +0100 +++ ./log.c 2003-11-17 13:31:15.000000000 +0100 @@ -134,9 +134,9 @@ static void logit(int priority, char *buf) { - if (logfname) { - if (!logfile) - log_open(); + if (logfname && !logfile) + log_open(); + if (logfile) { fprintf(logfile,"%s [%d] %s", timestring(time(NULL)), (int)getpid(), buf); fflush(logfile); @@ -164,9 +164,11 @@ if (logfname) { if (*logfname) { log_open(); -...
2018 Nov 08
1
[nbdkit PATCH] log: Allow user option of appending to log
...(-) diff --git a/filters/log/nbdkit-log-filter.pod b/filters/log/nbdkit-log-filter.pod index 0903329..88b9f9b 100644 --- a/filters/log/nbdkit-log-filter.pod +++ b/filters/log/nbdkit-log-filter.pod @@ -4,7 +4,7 @@ nbdkit-log-filter - nbdkit log filter =head1 SYNOPSIS - nbdkit --filter=log plugin logfile=FILE [plugin-args...] + nbdkit --filter=log plugin logfile=FILE [logappend=VAL] [plugin-args...] =head1 DESCRIPTION @@ -22,7 +22,8 @@ work even when nbdkit is run as a daemon. The nbdkit-log-filter requires a single parameter C<logfile> which specifies the path of the file to use for l...
2020 May 14
2
Default ACL inheritance question
...group: user-a user::rwx group::r-x other::r-x default:user::rwx default:user:user-b:r-- default:group::rwx default:mask::rwx default:other::r-x Now when new log files are created in logdir, the default ACL is inherited, but 'user-b' still can't read the files - i.e. % getfacl logdir/logfile # file: logdir/logfile # owner: user-a # group: user-a user::rw- user:user-b:r-- #effective:--- group::rwx #effective:--- mask::--- other::--- i.e. the effective access for 'user-b' is '---' - which is no access to read for 'user-b' I...
2002 Aug 07
1
Help/Note: Bug in samba-2.2.5/msdfs
...= 4 read(12, "FF S M B\b\0\0\0\0180310".., 98) = 98 getuid() = 0 [0] getgid() = 0 [0] setgroups(5, 0x00280338) = 0 setregid(-1, 160) = 0 getgid() = 0 [160] setreuid(-1, 16152) = 0 getuid() = 0 [16152] lstat64("/var/samba/common/winnt/run/data/fracas/hs-handler/logfiles/neuer ordner", 0xFFBEDC88) Err#2 ENOENT lstat64("/var/samba/common/winnt/run/data/fracas/hs-handler/logfiles", 0xFFBEDC88) = 0 stat64("run/data/fracas/hs-handler/logfiles", 0xFFBEEF70) = 0 stat64("run/data/fracas/hs-handler/logfiles/neuer ordner", 0xFFBEEF70) Er...
2010 Dec 02
1
rotate of logfiles
Hello list. This is not a life-threatening question, but still quite important for debugging. I have the following crontab : 15 0,8,12,17 * * * /usr/sbin/asterisk -rx 'logger rotate' Because I have debug level 9, logfiles get quite large. I notice that the rotation of the logfiles goes to plan, except at 17h15. I currently have : -rw-r--r-- 1 root root 59024 Dec 2 09:36 messages.vps.hosting --> 8h15 till now -rw-r--r-- 1 root root 0 Dec 2 02:02 messages.vps.hosting.0 --> empt...