append pid on logfiles