print STDERR "At line: ", __LINE__, ", the message type is $2, so we'll append to the log.\n"; etc. . . .