You are here: Home » Topic » How do I set up DEBUG?

How do I set up DEBUG?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2503
    Anonymous
    Inactive

    Below is a copy of my mt-daapd.conf file (previously edited via the web interface so somewhat truncated!). I have added a debuglevel line but it is causing an error report. What have I done wrong?

    web_root /opt/share/mt-daapd/admin-root
    port 3689
    admin_pw mt-daapd
    mp3_dir /share/flash/data/public/music
    debuglevel 5
    servername NSLU2 Music
    runas guest
    playlist /opt/etc/mt-daapd/mt-daapd.playlist
    extensions .mp3,.m4a,.m4p
    db_dir /opt/var/mt-daapd
    rescan_interval 600
    scan_type 0
    always_scan 0
    process_m3u 0
    compress 0

    Mike

    #17210
    stretch
    Participant

    missing line

    logfile = var/log/mt-daapd.log

    error in debug line. It should read

    debuglevel = 5

    Not sure if order is important but the logfile line appears after extensions & debug level is after scan_type interval in my config file.

    #17211
    EVILRipper
    Participant

    I don’t think the logfile is relevant, as it states ‘optional’ in the description above the line.

    However, try changing from

    debuglevel 5

    to

    debuglevel = 5

    That’s how the line is in my config file. 🙂

    #17212
    Anonymous
    Inactive

    @stretch wrote:

    missing line

    logfile = var/log/mt-daapd.log

    error in debug line. It should read

    debuglevel = 5

    Not sure if order is important but the logfile line appears after extensions & debug level is after scan_type interval in my config file.

    Thanks Guys, but I am still in trouble 🙁
    I have edited my config file as:

    web_root /opt/share/mt-daapd/admin-root
    port 3689
    admin_pw mt-daapd
    mp3_dir /share/flash/data/public/music
    servername NSLU2 Music
    runas guest
    playlist /opt/etc/mt-daapd/mt-daapd.playlist
    extensions .mp3,.m4a,.m4p
    logfile = var/log/mt-daapd.log
    db_dir /opt/var/mt-daapd
    rescan_interval 600
    scan_type 0
    debuglevel = 5
    always_scan 0
    process_m3u 0
    compress

    but get the error when trying to start Firefly:

    Invalid config directive: debuglevel

    Now what have I done, or not…?

    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.