Displaying 20 results from an estimated 10000 matches similar to: "Log to file in Asterisk: append with newline"
2014 Sep 19
1
Show Log(NOTICE) messages on the console
Hi,
I have asterisk running as daemon. I connect to my running asterisk servers
with:
sudo asterisk -r
In one asterisk instance (11.2.1) I see Log(NOTICE) messages, which is what
I want.
In another instance (11.7.0~dfsg-1ubuntu1) I do not see the Log(NOTICE)
messages. To see them I must make the cli very verbose (sudo asterisk
-rvvvv or more), which is **not** what I want (I really only want
2017 Oct 21
5
[Bug 1196] New: nft does not allow comments within sets: Error: syntax error, unexpected newline
https://bugzilla.netfilter.org/show_bug.cgi?id=1196
Bug ID: 1196
Summary: nft does not allow comments within sets: Error: syntax
error, unexpected newline
Product: nftables
Version: unspecified
Hardware: x86_64
OS: All
Status: NEW
Severity: enhancement
Priority: P5
2016 Dec 16
0
IRC question: appending newline to end of file
16:43 < martingo_> hi all
16:43 < martingo_> I am using write_append to write at the end of one file
16:43 < martingo_> but newline he is not taking
16:43 < martingo_> guestfish add ./overcloud-full.qcow2 : run : mount /dev/sda / : write_append /etc/fstab "nodev /mnt/huge_qemu_1G
hugetlbfs rw,pagesize=1G 0 0\n"
16:43 < martingo_> any
2012 Mar 01
1
Booting virtual machines automatically
Hello,
I am managing several virtual machines (a predefined set) with virsh, and I
would like to make sure that all VMs are booted when the host reboots.
What is the recommended approach for this?
Thanks,
Daniel Gonzalez
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Dec 05
1
[PATCH] Large log output does not print newline
Hi,
I think I found a minor bug in OpenSSH's log functionality: If a log
message which is larger than MSGBUFSIZE=1024 and logged to stderr, then the
newline (\r\n) is not printed. This is due to the fact that the newline is
added after the log message concatenated with "\r\n" is snprintf'd to
another buffer of the same size. If the source buffer (fmtbuf) would
already fill the
2007 Sep 26
1
Lack of final newline in write.dcf changes append usage
The change in r42731 eliminating the final blank line when writing DCF
files changes the way 'append' can be used in 'write.dcf' and I was
wondering if this is intentional. Basically, I want to write a data
frame to DCF format one row at a time, so I make use of repeated calls
to 'write.dcf(append = TRUE)'. However, in R 2.6.0RC the resulting DCF
file is not formatted
2012 Nov 20
1
Windows Manifest Newline Syntax and Append to file Questions
Hello all,
I''m fairly new to puppet and in the majority a windows shop
I have two questions
1.) As windows syntax is slight different than linux syntax, how do I
create a new line within a bit of content, e.g. hosts file "for windows not
linux"
e.g.
file {''c:/Windows/System32/drivers/etc/hosts'':
content =>
2014 Jan 20
2
newlines with write-append
Silly bash scripts have stuff like below to get things done, but equally
silly guestfish scripts fail to add the required newline. Why is that?
echo "$dev1 $mnt1 $fs $opts 1 2" >> /etc/fstab
echo "$dev2 $mnt2 $fs $opts 1 2" >> /etc/fstab
write-append /etc/fstab "$dev1 $mnt1 $fs $opts 1 2" : \
write-append /etc/fstab "$dev2 $mnt2 $fs $opts 1 2"
2017 Oct 06
1
[Bug 1189] New: Include of a file not robust to missing newline at EOF
https://bugzilla.netfilter.org/show_bug.cgi?id=1189
Bug ID: 1189
Summary: Include of a file not robust to missing newline at EOF
Product: nftables
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: nft
Assignee: pablo at
2014 Jan 20
0
Re: newlines with write-append
On Mon, Jan 20, 2014 at 08:54:17PM +0100, Olaf Hering wrote:
> Silly bash scripts have stuff like below to get things done, but equally
> silly guestfish scripts fail to add the required newline. Why is that?
>
> echo "$dev1 $mnt1 $fs $opts 1 2" >> /etc/fstab
> echo "$dev2 $mnt2 $fs $opts 1 2" >> /etc/fstab
>
> write-append /etc/fstab
2016 Nov 14
0
Read.dcf with no newline ending: gzfile drops last line
I don't know if this is a bug per se, but an undesired behavior in
read.dcf. read.dcf takes a file argument and passes it to gzfile if
it's a character:
if (is.character(file)) {
file <- gzfile(file)
on.exit(close(file))
}
This gzfile connection is passed to readLines (line #39):
lines <- readLines(file)
If no newline is at the end of the file, readLines
2015 Feb 26
1
How to perform some tasks after the CDR has been closed?
Hi,
I would like to do some tasks after the CDR has been closed, and the
CDR(end), CDR(billsec) and CDR(duration) fields are available. I have tried
to do that on the h extension, but it seems the CDR is not yet complete in
the h extension.
When is the CDR closed? How can I trigger some actions after that event?
It would be nice if the channel is still available, since I need access to
other
2005 Sep 01
1
R CMD BATCH on scripts without trailing newline
If the last line of an R script does not have a trailing newline, a
small errror is produced at the end of the script.
Small example. If file eg.r contains one line:
getwd()
and there is no newline after the closing paren
$ R CMD BATCH eg.r
produces an error:
$ cat eg.r.Rout
R : Copyright 2005, The R Foundation for Statistical Computing
Version 2.1.1 Patched (2005-09-01), ISBN 3-900051-07-0
2007 Apr 04
1
[Bug 1302] scp failes to copy a file with newline
http://bugzilla.mindrot.org/show_bug.cgi?id=1302
Summary: scp failes to copy a file with newline
Product: Portable OpenSSH
Version: 4.3p2
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: scp
AssignedTo: bitbucket at mindrot.org
ReportedBy: zdenek at
2003 Sep 03
1
Last line in .Rprofile must have newline (PR#4056)
Full_Name: Henrik Bengtsson
Version: R v1.7.1
OS: WinXP Pro, Solaris 9
Submission from: (NULL) (130.235.2.229)
A colleague of mine who is new to R had problems setting up his .Rprofile and we
tracked it down to the following. On both WinXP and Solaris with Rv1.7.1 we
noticed that the *last* line in .Rprofile has to have a *newline* to be
evaluated. For instance, starting R with the following
2004 Sep 16
0
FW: FW: How do I insert a newline in my title in a plot?
platform: Linux Mandrake 10.0 AMD processor, X11 graphics with XFree latest,
R version 1.9.1 home-compiled.
-----Original Message-----
From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
Sent: ??????, 16 ??????????? 2004 16:27
To: Christos Rodopoulos
Cc: 'R-help at stat.math.ethz.ch'
Subject: Re: FW: [R] How do I insert a newline in my title in a plot?
On Thu, 16 Sep 2004,
2015 Feb 12
3
[Bug 2350] New: ssh-copy-id doesn't handle keys with missing trailing newline
https://bugzilla.mindrot.org/show_bug.cgi?id=2350
Bug ID: 2350
Summary: ssh-copy-id doesn't handle keys with missing trailing
newline
Product: Portable OpenSSH
Version: 6.7p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component:
2006 May 11
2
New option: --progress-newline
In trying to write a nice GUI for rsync, it was difficult to read
rsync's stdout
when using --progress, as --progress uses \r to make things pretty on
a terminal,
but it's painful to read into another process.
The attached patch made it much easier for me to read and parse the output from
--progress by adding a command-line option --progress-newline, which simply
causes --progress to use
2014 Dec 09
4
Passing literals with commas to subroutine
Hi,
Let's say I do:
Set(data=xxx,yyy)
Gosub(my-sub,s,1(${data}))
My subroutine will only receive "xxx" for ARG1. How can I pass a literal
with a comma to a single argument in a subroutine?
(The point is: when calling the subroutine I do not know if the variable
has a comma or not.)
Thanks,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2004 Jul 02
0
Problem locating stream files
Hi *,
I have set up a very simple asterisk configuration where I intend to be redirected to the
voicemail whenever I dial 100 with my kphone SIP client. The problem is that asterisk can not find
the stream 'vm-theperson'. I have made a non-standard installation (since I am just testing), and
that file is located in /mnt/tr2/fake_root/installed/usr/local/var/lib/asterisk/sounds.
1. How