debug: hide thread start messages

we get a lot of spam due to HTTP server setup so this needs to be debug
This commit is contained in:
Adam Sutton 2013-09-06 00:15:02 +01:00
parent 831990453e
commit a149908184

View file

@ -88,7 +88,7 @@ int tvhthread_create0(pthread_t *thread, const pthread_attr_t *attr,
char buf[16] = { 0 };
strncpy(buf, name, sizeof(buf)-1);
r = pthread_create(thread, attr, start_routine, arg);
tvhinfo("thread", "created thread %ld [%s / %p]", *thread, name, start_routine);
tvhdebug("thread", "created thread %ld [%s / %p]", *thread, name, start_routine);
if (r) return r;
pthread_setname_np(*thread, buf);
return r;