Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: mppdec request: log errors to a logfile (Read 2142 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

mppdec request: log errors to a logfile

I'm not sure how hard this would be to implement, but it would be nice to have mppdec log errors to a logfile, similarly to how mppenc can log its command-prompt output using --stderr. If I was a programmer, I could build a quick hack that would solve all my problems (and maybe world hunger while I was at it), but right now I'm dependent on someone more skilled than me to help me find a solution.

What I want to do is recursively decode all my MPC's to /dev/null and see if any have sync errors. Perhaps there's already a feature for this that I don't know about, but AFAIK it hasn't been discussed on these forums.

Does anyone know how I should do this?

mppdec request: log errors to a logfile

Reply #1
Quote
Originally posted by SometimesWarrior
I'm not sure how hard this would be to implement, but it would be nice to have mppdec log errors to a logfile, similarly to how mppenc can log its command-prompt output using --stderr. If I was a programmer, I could build a quick hack that would solve all my problems (and maybe world hunger while I was at it), but right now I'm dependent on someone more skilled than me to help me find a solution.

What I want to do is recursively decode all my MPC's to /dev/null and see if any have sync errors. Perhaps there's already a feature for this that I don't know about, but AFAIK it hasn't been discussed on these forums.

Does anyone know how I should do this?


RTFM of your OS.

Windows/DOS:
mppdec --scale 0  /dev/null 2> logfile

Linux/Unix:
mppdec --scale 0 / /dev/null 2> logfile
--  Frank Klemm

 

mppdec request: log errors to a logfile

Reply #2
Quote
Originally posted by Frank Klemm
RTFM of your OS.

Windows/DOS:
mppdec --scale 0  /dev/null 2> logfile
Doh! I was using the line mppdec *.mpc /dev/null > logfile.log. I didn't include the 2 (although I've logged things from the prompt before without having to put a 2 in there, such as dir > dirlist.txt).

Well, thanks for the info. I'll write a letter to Microsoft and ask them to include more detailed documentation with the next service pack, including a whole help topic describing how to decode and log all of the user's .mpc files