Philipp Schafft phschafft at de.loewenfelsen.net
Tue Feb 15 18:01:44 UTC 2022

Good evening,

On Tue, 2022-02-15 at 17:00 +0000, Richard Bartholomew wrote:
> Hi,
> Although I find connection details in the access.log file showing a
> status of 200, I am not sure what to look for for a successful 
> disconnect.

The access.log logs every access. As connect and disconnect is the same
access the log will contain one line.

The timestamp is the time of disconnect. The last value is how long a
client was connected in seconds. If you subtract that from the
timestamp you get the connection timestamp.

> However, I discovered that I can find both successful connect and
> disconnect information in error.log!  This confuses me even more as I
> would not expect to find successful events in an error log!
> Can anyone explain why the info is in the error log rather than the
> access log, please?

The error.log serves as a general log file. In contrast to the other
logs it is not meant to be machine readable but to be meaningful to an
administrator solving some problem. So it does not only contain errors
but everything that is important to such an administrator.

Hope that answer was helpful and cleared a bit of the mist.

With best regards,

> -----Original Message-----
> From: Philipp Schafft <phschafft at de.loewenfelsen.net> 
> Sent: 14 February 2022 15:29
> To: rlbart53 at gmail.com; Icecast streaming server user discussions <
> icecast at xiph.org>
> Subject: Re: [Icecast] CONNECTION STATS
> Good afternoon,
> On Mon, 2022-02-14 at 12:29 +0000, Richard Bartholomew wrote:
> > Hi,
> >  
> > Is there a way, please, of being able to see historical connection 
> > details in V2.4.4? For example, I wish to be able to see when a 
> > presenter disconnected from the server and the following one
> > connected 
> > in order to be able to troubleshoot a problem. Since the incident, 
> > there have been subsequent connections and, so, the admin page
> > doesn't 
> > show the info I'm after as it shows the current status.
> > 
> > I've had a look through the access.log file
> that is exactly the place go to for.
> > but this doesn't seem to detail when a streaming connection is made
> > or 
> > dropped. The software being used for streaming is Station Playlist
> > and 
> > I can see lots of entries for this but it all seems to be related
> > to 
> > getting listener stats!
> >  
> > Maybe I'm not interpreting the access.log correctly but if anyone
> > can 
> > shed any light upon what I'm trying to do, I'd really appreciate
> > it.
> I think you might have missed the important lines all the data.
> Source connections are, generally speaking, using PUT or SOURCE. The
> status code reflects the status of the mounting, so if a source
> successfully mounted the status will be a 200.

Philipp Schafft (CEO/Geschäftsführer) 
Telephon: +49.3535 490 17 92

Löwenfelsen UG (haftungsbeschränkt)     Registration number:
Bickinger Straße 21                     HRB 12308 CB
04916 Herzberg (Elster)                 VATIN/USt-ID:
Germany                                 DE305133015
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20220215/a47081f7/attachment.sig>

More information about the Icecast mailing list