github.com/jstaf/onedriver@v0.14.2-0.20240420231225-f07678f9e6ef/pkg/resources/config-example.yml (about)

     1  # What log level should onedriver use (debug, info, and "warn" are recommended).
     2  # - trace - Log everything, including every syscall handled by the filesystem.
     3  # - debug - Log all operations that modify a file or directory.
     4  # - info - Log "big" operations like uploads and downloads.
     5  # - warn - These are warnings. Usually not a problem.
     6  # - error - Things that onedriver doesn't like, but can continue running
     7  #          (can possibly result in file corruption or inability to do something).
     8  # - fatal - Only log errors that kill the program (this log level is not recommended).
     9  log: debug
    10  
    11  # cacheDir specifies which directory onedriver should store its data in.
    12  # This directory can get pretty large. "~" is a placeholder for your home directory.
    13  cacheDir: ~/.cache/onedriver
    14  
    15  # Don't uncomment or change this unless you are a super duper expert and have
    16  # registered your own version of onedriver in Azure Active Directory. These are the
    17  # default values.
    18  #auth:
    19  #  clientID: "3470c3fa-bc10-45ab-a0a9-2d30836485d1"
    20  #  codeURL: "https://login.microsoftonline.com/common/oauth2/v2.0/authorize"
    21  #  tokenURL: "https://login.microsoftonline.com/common/oauth2/v2.0/token"
    22  #  redirectURL: "https://login.live.com/oauth20_desktop.srf"