Koha::Logger and (as of bug 16829) the action logs take advantage of C4::Context->interface to record the context in which things happen. It would be useful that the SCO-related scripts could set C4::Context->interface to 'sco'