[Icecast] Logging file size and name

Patricia Moynihan pmoynihan at fsu.edu
Thu Jun 6 14:16:02 UTC 2019


Awesome I will read about that in a little bit here. Thank you for the tip!

Patricia Moynihan
Director of Digital

pmoynihan at fsu.edu<mailto:pmoynihan at fsu.edu>
850-645-6067
850-645-7200

On Jun 6, 2019, at 2:11 AM, Thomas B. Rücker <thomas at ruecker.fi<mailto:thomas at ruecker.fi>> wrote:

Hi Patricia,

On 6/5/19 4:26 PM, Patricia Moynihan wrote:
Hi all,

I am using Icecast 2.4.4 on Centos 7. This worked fine in the past on
an old Windows machine but now I’m having issues getting the logs to
change file size and name. I am trying to get my file size to be 2 MB

<snip />

What I am getting from this are file default file names:

access.log-20190428 as well as large file sizes, up to 27MB


Yes, it looks like CentOS is using "logrotate" - a standard tool for
managing log file size and history. This is competing with the internal
mechanism of Icecast that you enabled.

My general recommendation is to use the system tooling and - if
necessary - configure it to your needs. In case of Logrotate you can
configure retention, compression and some other parameters. The built in
Icecast functionality is mostly there to help people who deploy it
outside of the operating system context or on Windows.

For reference here's a link to RHEL 7 documentation (If you are running
CentOS 8, you'll have to look for RHEL 8):

https://urldefense.proofpoint.com/v2/url?u=https-3A__access.redhat.com_documentation_en-2Dus_red-5Fhat-5Fenterprise-5Flinux_7_html_system-5Fadministrators-5Fguide_ch-2Dviewing-5Fand-5Fmanaging-5Flog-5Ffiles&d=DwIGaQ&c=HPMtquzZjKY31rtkyGRFnQ&r=il3mbeSthlxEJd_b1NtmGe2biSOKp7VwqcXPdl2MdRc&m=fdI5MTFukqGmJlFcxCm99JAsnjH7yQCXIo_u0THZixc&s=z8EUVvbGaFOb88sadpikXx9kOhC3tll9TSgY9obgw8Q&e=

Cheers,

Thomas



_______________________________________________
Icecast mailing list
Icecast at xiph.org<mailto:Icecast at xiph.org>
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xiph.org_mailman_listinfo_icecast&d=DwIGaQ&c=HPMtquzZjKY31rtkyGRFnQ&r=il3mbeSthlxEJd_b1NtmGe2biSOKp7VwqcXPdl2MdRc&m=fdI5MTFukqGmJlFcxCm99JAsnjH7yQCXIo_u0THZixc&s=yZLRjHoywhHYcvTKscPfh2er1F_Q8mXn-w3qejbuQdI&e=

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20190606/189bb2d0/attachment.htm>


More information about the Icecast mailing list