No fail2ban logs

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
mims
Posts: 12
Joined: Wed Mar 15, 2017 7:52 am

No fail2ban logs

Post by mims »

Hi,

I'm running DietPi on a Odroid XU4.
I've installed fail2ban and I should have logs but nothing.
When I look at the log file just after booting up my XU4, the init logs of fail2ban are written in the log file. But after a while, it's simply empty.

I commented out

Code: Select all

/tmpfs /var/log
in

Code: Select all

/etc/fstab
but it doesn't change.

Could you help me getting the logs please?

Thanks
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: No fail2ban logs

Post by k-plan »

Hi,
mims wrote:But after a while, it's simply empty.
Do you change dietpi-software default "Log System"?

It is: DietPi-Ramlog #1 (default)

Please start reading here: DietPi-Software | Details for ALL installation options

and: Log System Choices

For your purpose of use , Full (Rsyslog & Logrotate - the "standard" of Linux logging systems) can be a good choice.
Please change it via dietpi-software.

But you will loose some advantage, e.g. system performance and SDcard time to failure.

cu
k-plan
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
mims
Posts: 12
Joined: Wed Mar 15, 2017 7:52 am

Re: No fail2ban logs

Post by mims »

Thank you k-plan!

I created symbolic links to my USB key so I won't ruin my Emmc :)
Post Reply