pub struct Logs {
pub enabled: bool,
pub keep_failed: bool,
pub rotate: Option<Rotate>,
}Expand description
Log handling.
Fields§
§enabled: boolSet false to skip the phase.
keep_failed: boolRun eb-keep-logs failed after a failed line, with EASYBUILD_OUTPUT_STYLE=basic so that eb --last-log prints the log path on one line.
rotate: Option<Rotate>Run eb-keep-logs rotate <log_root> at the end of the run, with TZ=UTC: run directories are named in UTC. Only a run that ends with no other run under log_root live rotates: each run holds <log_root>/.eb-pipeline-rotate.lock shared, and rotates when it can take it alone. Where eb-keep-logs --help lists --lock-timeout, the rotate passes --lock-timeout 0, and while another rotate holds <log_root>/.eb-keep-logs-rotate.lock it changes nothing and exits 75, recorded as skipped.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Logs
impl<'de> Deserialize<'de> for Logs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Logs
Auto Trait Implementations§
impl Freeze for Logs
impl RefUnwindSafe for Logs
impl Send for Logs
impl Sync for Logs
impl Unpin for Logs
impl UnwindSafe for Logs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more