X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=instance.c;h=b2cdfa1dd57397d4e36d7886d8f5bafa5e710f23;hp=2a648d7a8b32bc4eae1744d74b056566c6516886;hb=8158e9052afbf2ee47de645167b90b6e7fc7d86d;hpb=6390afe7a3cf1663979078711febb2be21fb4cf2;ds=sidebyside diff --git a/instance.c b/instance.c index 2a648d7..b2cdfa1 100644 --- a/instance.c +++ b/instance.c @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2013 Felix Fietkau + * Copyright (C) 2013 John Crispin + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 2.1 + * as published by the Free Software Foundation + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + #include #include #include @@ -90,7 +104,7 @@ instance_start(struct service_instance *in) return; } - LOG("Started instance %s::%s\n", in->srv->name, in->name); + DEBUG(1, "Started instance %s::%s\n", in->srv->name, in->name); in->proc.pid = pid; uloop_process_add(&in->proc); }