Adjusted physical-log code.