FlatImage
A configurable Linux containerization system
Loading...
Searching...
No Matches
ns_config::Logs Struct Reference

Log file paths for all FlatImage subsystems. More...

#include <config.hpp>

Collaboration diagram for ns_config::Logs:
[legend]

Public Member Functions

 Logs (fs::path const &path_dir_log)
 

Public Attributes

ns_bwrap::ns_proxy::Logs const bwrap
 Bubblewrap sandbox log paths.
 
ns_db::ns_portal::ns_daemon::ns_log::Logs const daemon_host
 Host portal daemon logs.
 
ns_db::ns_portal::ns_daemon::ns_log::Logs const daemon_guest
 Guest portal daemon logs.
 
ns_db::ns_portal::ns_dispatcher::Logs const dispatcher
 Portal dispatcher logs.
 
ns_filesystems::ns_controller::Logs const filesystems
 Filesystem subsystem logs.
 
fs::path const path_file_boot
 Boot initialization log file.
 

Detailed Description

Log file paths for all FlatImage subsystems.

Creates the following log directory structure:

{instance}/logs/
├── bwrap/ - Bubblewrap sandbox logs
├── daemon/
│ ├── host/ - Portal daemon (host-side) logs
│ │ ├── <PID> -
│ │ │ ├── child.log -
│ │ │ └── grand.log -
│ │ └── daemon.log - Daemon process logging
│ ├── guest/ - Portal daemon (guest-side) logs
│ │ ├── <PID> -
│ │ │ ├── child.log -
│ │ │ └── grand.log -
│ └── └── daemon.log - Portal daemon (host-side) logs
├── dispatcher/ - Portal dispatcher logs
│ ├── host/ - Portal daemon (host-side) logs
│ │ └── <PID>.log - Portal daemon (host-side) logs
│ ├── guest/ - Portal daemon (guest-side) logs
│ └── └── <PID>.log - Portal daemon (host-side) logs
├── fuse/
│ ├── dwarfs.log - DwarFS filesystem logs
│ ├── ciopfs.log - Case-insensitive FS logs
│ ├── overlayfs.log - OverlayFS logs
│ ├── unionfs.log - UnionFS logs
│ ├── janitor.log - Filesystem janitor logs
│ └── guest/ - Guest filesystem logs
└── boot.log - Boot/initialization logs
Value< int > boot(int argc, char **argv)
Boots the main flatimage program and the portal process.
Definition boot.cpp:40
ns_bwrap::ns_proxy::Logs const bwrap
Bubblewrap sandbox log paths.
Definition config.hpp:309
ns_db::ns_portal::ns_dispatcher::Logs const dispatcher
Portal dispatcher logs.
Definition config.hpp:312

Definition at line 307 of file config.hpp.

Constructor & Destructor Documentation

◆ Logs()

ns_config::Logs::Logs ( fs::path const & path_dir_log)
inline

Definition at line 317 of file config.hpp.

Member Data Documentation

◆ bwrap

ns_bwrap::ns_proxy::Logs const ns_config::Logs::bwrap

Bubblewrap sandbox log paths.

Definition at line 309 of file config.hpp.

◆ daemon_guest

ns_db::ns_portal::ns_daemon::ns_log::Logs const ns_config::Logs::daemon_guest

Guest portal daemon logs.

Definition at line 311 of file config.hpp.

◆ daemon_host

ns_db::ns_portal::ns_daemon::ns_log::Logs const ns_config::Logs::daemon_host

Host portal daemon logs.

Definition at line 310 of file config.hpp.

◆ dispatcher

ns_db::ns_portal::ns_dispatcher::Logs const ns_config::Logs::dispatcher

Portal dispatcher logs.

Definition at line 312 of file config.hpp.

◆ filesystems

ns_filesystems::ns_controller::Logs const ns_config::Logs::filesystems

Filesystem subsystem logs.

Definition at line 313 of file config.hpp.

◆ path_file_boot

fs::path const ns_config::Logs::path_file_boot

Boot initialization log file.

Definition at line 314 of file config.hpp.


The documentation for this struct was generated from the following file: