Take a look at
http://articles.slicehost.com/2010/6/30/understanding-logrotate-on-centos-part-1

I would recommend stopping the device first. Then restart in the service so it 
re-creates the necessary log files.

How big is your log?
--
Jeremy McSpadden
Flux Labs, Inc | http://www.fluxlabs.net<http://www.fluxlabs.net/> | Endless 
Solutions
Office : 850-250-5590x101<tel:850-250-5590;101> | Cell : 
850-890-2543<tel:850-890-2543> | Fax : 850-254-2955<tel:850-254-2955>

On Feb 23, 2014, at 10:50 AM, "Telmo Latas" 
<[email protected]<mailto:[email protected]>> wrote:

Hi Jeremy,

Thanks for your answer.
Sorry for asking, how can i setting up log rotation?
How can I delete the logs? It’s necessary stop any service or just use the 
command rm –rf baruwa-access_log in /var/log/httpd and then it create a new one?
I do something like that for the logs of dovecot, but I had to stop the dovecot 
service then delete the logs and when start the dovecot service he recreate the 
logs automatically.

Thanks.

Best Regards,

Telmo Latas
Técnico Informática

PKF Sistemas de Informação,Lda.
Edifício Atrium Saldanha
Praça Duque de Saldanha, 1 - 4º Piso, Letras H e O
1050 - 094 Lisboa – Portugal

Telefone: +351 213 182 720
Telefax: +351 213 146 114
Telemóvel:+351  962116776
[email protected]<mailto:[email protected]>
www.pkf.pt<http://www.pkf.pt/>

A PKF Sistemas de Informação, Lda. é membro da PKF International Limited, uma 
rede de sociedades legalmente independentes, a qual não aceita quaisquer 
responsabilidades pelos actos ou omissões de qualquer sociedade ou sociedades 
membro.
PKF Sistemas de Informação, Lda. is a member of the PKF International Limited 
network of legally independent firms and does not accept any responsibility or 
liability for the actions or inactions on the part of any individual member 
firm or firms.

Este e-mail pode conter informação privilegiada e confidencial. Se não é o 
destinatário pretendido, não deve copiar ou distribuir este e-mail. Se recebeu 
este e-mail por engano, por favor notifique imediatamente o remetente. Deve 
certificar-se que este e-mail e os seus anexos não se encontram infectados por 
vírus. O envio de e-mails não é um meio de comunicação completamente seguro. 
Apelamos a que reconheça essa falta de segurança e que tome todas as precauções 
necessárias quando comunicar connosco via e-mail.
Reservamos o direito de ler sem pré-aviso qualquer e-mail e respectivos anexos 
que nos sejam enviados.
This e-mail may contain privileged and confidential information. If you are not 
the intended recipient, you must not copy or distribute it. If you have 
received this e-mail in error, please notify the sender and delete the e-mail 
immediately. You should ensure that this e-mail and any attachments are virus 
free. E-mail is not a 100% secure communications medium. We advise that you 
understand this lack of security and take any necessary measures when e-mailing 
us.
We reserve the right to read any e-mail or attachment entering or leaving our 
systems from any source without prior notice.

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Jeremy McSpadden
Sent: domingo, 23 de Fevereiro de 2014 16:38
To: Baruwa users list
Subject: Re: [Baruwa] Logs Baruwa

Yes. It is safe to delete the logs. I would recommend setting up log rotate.
--
Jeremy McSpadden
Flux Labs, Inc | http://www.fluxlabs.net<http://www.fluxlabs.net/> | Endless 
Solutions
Office : 850-250-5590x101<tel:850-250-5590;101> | Cell : 
850-890-2543<tel:850-890-2543> | Fax : 850-254-2955<tel:850-254-2955>

On Feb 23, 2014, at 10:05 AM, "Telmo Latas" 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

I need some help, if you could help me I would apprecciate.
I’ve little knowledge on baruwa and in centos6, so I’ll ask some patiente from 
you on the explanation.
The problem is I have little space and need gain more, for continue receiving 
the emails for the company. So my question is, if I can delete the 
baruwa-access_log and the baruwa-error_log which are in /var/log/httpd? If I 
deleted those logs there are recreated again? If possible how can I delete them 
and how I can recreate them again.

Thanks.

Best regards,

Telmo Latas
Técnico Informática

PKF Sistemas de Informação,Lda.
Edifício Atrium Saldanha
Praça Duque de Saldanha, 1 - 4º Piso, Letras H e O
1050 - 094 Lisboa – Portugal

Telefone: +351 213 182 720
Telefax: +351 213 146 114
Telemóvel:+351  962116776
[email protected]<mailto:[email protected]>
www.pkf.pt<http://www.pkf.pt/>

A PKF Sistemas de Informação, Lda. é membro da PKF International Limited, uma 
rede de sociedades legalmente independentes, a qual não aceita quaisquer 
responsabilidades pelos actos ou omissões de qualquer sociedade ou sociedades 
membro.
PKF Sistemas de Informação, Lda. is a member of the PKF International Limited 
network of legally independent firms and does not accept any responsibility or 
liability for the actions or inactions on the part of any individual member 
firm or firms.

Este e-mail pode conter informação privilegiada e confidencial. Se não é o 
destinatário pretendido, não deve copiar ou distribuir este e-mail. Se recebeu 
este e-mail por engano, por favor notifique imediatamente o remetente. Deve 
certificar-se que este e-mail e os seus anexos não se encontram infectados por 
vírus. O envio de e-mails não é um meio de comunicação completamente seguro. 
Apelamos a que reconheça essa falta de segurança e que tome todas as precauções 
necessárias quando comunicar connosco via e-mail.
Reservamos o direito de ler sem pré-aviso qualquer e-mail e respectivos anexos 
que nos sejam enviados.
This e-mail may contain privileged and confidential information. If you are not 
the intended recipient, you must not copy or distribute it. If you have 
received this e-mail in error, please notify the sender and delete the e-mail 
immediately. You should ensure that this e-mail and any attachments are virus 
free. E-mail is not a 100% secure communications medium. We advise that you 
understand this lack of security and take any necessary measures when e-mailing 
us.
We reserve the right to read any e-mail or attachment entering or leaving our 
systems from any source without prior notice.

_______________________________________________
http://pledgie.com/campaigns/12056





=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



SISTEMA DE ANTI-VIRUS e FILTRAGEM DE CONTEUDOS DE E-MAIL

PKF



Esta mensagem for verificada pelo sistema de Controlo de

Anti-Virus e Filtragem de Conteúdos de mensagens de E-Mail.

Embora não tenha sido detectado qualquer virus no seu conteúdo,

aconselha-se atenção especial aos ficheiros em anexo que

possam existir.



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

________________________________
No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com>
Version: 2014.0.4259 / Virus Database: 3697/7089 - Release Date: 02/13/14
Internal Virus Database is out of date.
_______________________________________________
http://pledgie.com/campaigns/12056
_______________________________________________
http://pledgie.com/campaigns/12056

Reply via email to