Welcome Guest, Not a member yet? Register   Sign In
Content of writeable/debugbar
#1

Hi all,

I am relatively new to working with ci4 and discovered that my writeable/debugbar folder contains a lot of .json files which seem to log information about accessed controllers on my page.
The problem is, that these files are created approx. every 30 seconds.

Is it okay for me to delete them without hesitation of will this have any impact on my page?

Sorry, haven't found information only which describes the functon of those files.

Kind regards,
paul
Reply
#2

They are bench marking timing of the controllers etc;

You can delete them if you want but it will just re-create them.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(09-07-2020, 02:59 AM)InsiteFX Wrote: They are bench marking timing of the controllers etc;

You can delete them if you want but it will just re-create them.

Okay but they take up a lot of space (12gb currently) over the last 2 months.

is there a way to disable this?

Since I don't really need / use them at all.

Thanks! Smile
Reply
#4

Don't use the DebugBar change .env to env then it will not use it.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#5

Thanks again for your answer.

However, I am not using the env-file at all.
Is there another place where I shall disable it?

Thanks!
Reply
#6

Set your environment to production to stop debugbar from logging things there.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB