mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Fixup debug output (#1617)
This commit is contained in:
parent
be4d388813
commit
3222de6c9c
17 changed files with 1451 additions and 630 deletions
|
|
@ -315,12 +315,16 @@ _main(int argc_,
|
|||
SysLog::info("mergerfs v{} started",MERGERFS_VERSION);
|
||||
SysLog::info("Go to https://trapexit.github.io/mergerfs/latest/support for support");
|
||||
|
||||
for(int i = 0; i < argc_; i++)
|
||||
SysLog::info("argv[{}]: {}",i,argv_[i]);
|
||||
|
||||
options::parse(&args);
|
||||
|
||||
if(!cfg.errs.empty())
|
||||
{
|
||||
for(auto &err : cfg.errs)
|
||||
{
|
||||
std::string s = err.to_string();
|
||||
const std::string s = err.to_string();
|
||||
|
||||
SysLog::error("error: {}",s);
|
||||
fmt::println(stderr,"mergerfs: ERROR - {}",s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue