# $kirby->root('logs')

Returns the root of the logs file folder.

****

****

## Example

```php
<?= $kirby->root('logs') ?>
```

## Custom setup

If you want to overwrite the root you can do this in your `index.php` by passing a custom roots setup to the Kirby constructor.

```php "/index.php"
<?php

include 'kirby/bootstrap.php';

$kirby = new Kirby([
    'roots' => [
        'logs' => '/absolute/path/to/custom/root',
    ],
]);

echo $kirby->render();

```