Re: Where to place log files for boa?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 21 Aug 2023, Yan Xin Kuan wrote:

> Hi,
>
> I am patching and doing configurations on boa web server.
>
> A situation here is, boa default configured its log files which are access_log and error_log to be generated under this path:
>
> /var/log/boa/
>
> PS: boa would not create such a folder, it just locates this folder and generate log file inside of it.
>
> I see in the build system, folders under /var can not be generated during build time.
>
> So I have got 2 options:
>
> 1, I change the default configuration file of boa re-direct the log path to /etc/boa/log/.
>
> 2, I change the default configuration file of boa and re-direct the log path to /var/<some existing directory>.
>
> I need some advice.

The easiest solution might be to just configure boa to write the files in
/var/log.  If you do want them to go into a subdirectory like
/var/log/boa, you can create it with a mkdir in a ExecStartPre directive
in the systemd unit you should likely write to start boa.

Scott



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10747): https://lists.automotivelinux.org/g/agl-dev-community/message/10747
Mute This Topic: https://lists.automotivelinux.org/mt/100866340/2167316
Group Owner: agl-dev-community+owner@xxxxxxxxxxxxxxxxxxxxxxxxx
Unsubscribe: https://lists.automotivelinux.org/g/agl-dev-community/leave/4543822/2167316/883735764/xyzzy [list-automotive-discussions82@xxxxxxxxxxx]
-=-=-=-=-=-=-=-=-=-=-=-





[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux