Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-10750

Uniformize logging in Perl scripts

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Scripts
    • Labels:
      None

      Description

      Most Perl scripts use print or die whereas it should probably use subroutines exposed by MusicBrainz::Server::Log instead.
      RebuildCoverArt and RemoveBarcodeCoverArt are the only two scripts using Log but they do not set log level so that debug is always on.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            yvanzo yvanzo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package