klipper/klippy/extras
Samori Gorse 04c6e1f646 idle_timeout: Added a missing logging import
I noticed Octoprint was disconnecting after a while, and after reading the logs, I came across this error:

```
Unhandled exception during run
Traceback (most recent call last):
  File "/home/pi/klipper/klippy/klippy.py", line 171, in run
    self.reactor.run()
  File "/home/pi/klipper/klippy/reactor.py", line 176, in run
    g_next.switch()
  File "/home/pi/klipper/klippy/reactor.py", line 203, in _dispatch_loop
    timeout = self._check_timers(eventtime)
  File "/home/pi/klipper/klippy/reactor.py", line 82, in _check_timers
    t.waketime = t.callback(eventtime)
  File "/home/pi/klipper/klippy/extras/idle_timeout.py", line 62, in timeout_handler
    return self.check_idle_timeout(eventtime)
  File "/home/pi/klipper/klippy/extras/idle_timeout.py", line 59, in check_idle_timeout
    return self.transition_idle_state(eventtime)
  File "/home/pi/klipper/klippy/extras/idle_timeout.py", line 35, in transition_idle_state
    logging.exception("idle timeout gcode execution")
NameError: global name 'logging' is not defined
```

I therefore added the missing import.

Signed-off-by: Samori Gorse <samori.gorse+github@gmail.com>
2019-01-29 11:18:44 -05:00
..
display menu: Don't peek into printer.objects member variable 2019-01-08 12:03:46 -05:00
__init__.py
ad5206.py ad5206: Use bus.py helper code for spi 2018-11-21 12:12:31 -05:00
adc_temperature.py adc_temperature: Add support for linear interpolation of resistances 2019-01-21 21:28:25 -05:00
bed_mesh.py klippy: Convert printer_state("connect") to an event handler 2019-01-08 11:09:55 -05:00
bed_tilt.py klippy: Convert printer_state("connect") to an event handler 2019-01-08 11:09:55 -05:00
bltouch.py bltouch: Take into account clock skew when calculating command duration 2019-01-21 09:56:08 -05:00
bus.py i2ccmds: Pass the i2c address as a 7-bit number (0-127) 2019-01-07 20:00:44 -05:00
buttons.py
controller_fan.py controller_fan: Add support for a fan cooling the controller-board (#1070) 2019-01-10 12:12:15 -05:00
delta_calibrate.py delta_calibrate: Do not automatically run G28 on DELTA_CALIBRATE 2018-10-22 11:26:01 -04:00
endstop_phase.py tmc2660: Add endstop phase detection functionality to TMC2660 extra (#816) 2018-10-24 16:01:12 -04:00
fan.py
force_move.py
gcode_macro.py
heater_bed.py heater: take a gcode_id when setting up a heater (#1028) 2019-01-02 17:44:02 -05:00
heater_fan.py klippy: Convert printer_state("ready") to an event handler 2019-01-08 10:59:43 -05:00
homing_override.py
idle_timeout.py idle_timeout: Added a missing logging import 2019-01-29 11:18:44 -05:00
mcp4451.py i2ccmds: Pass the i2c address as a 7-bit number (0-127) 2019-01-07 20:00:44 -05:00
mcp4728.py mcp4728: Add initial support for the mcp4728 i2c dac chip 2019-01-02 18:17:56 -05:00
multi_pin.py
output_pin.py
pause_resume.py pause_resume: initial implementation of pause/resume functionality for Klipper 2019-01-28 11:23:52 -05:00
pid_calibrate.py pid_calibrate: Add some comments on the calibration methodology 2018-10-19 22:40:11 -04:00
probe.py bltouch: Add initial support for a bltouch "extras" module 2018-11-30 11:34:20 -05:00
quad_gantry_level.py klippy: Convert printer_state("connect") to an event handler 2019-01-08 11:09:55 -05:00
query_endstops.py
replicape.py replicape: Use bus.py helper code for spi 2018-11-21 12:12:31 -05:00
respond.py respond: An extra for sending messages to the printer host. (#1053) 2019-01-02 17:45:35 -05:00
servo.py klippy: Convert printer_state("ready") to an event handler 2019-01-08 10:59:43 -05:00
spi_temperature.py spi_temperature: Use bus.py helper code for spi 2018-11-21 12:12:31 -05:00
static_digital_output.py
statistics.py klippy: Convert printer_state("ready") to an event handler 2019-01-08 10:59:43 -05:00
sx1509.py i2ccmds: Pass the i2c address as a 7-bit number (0-127) 2019-01-07 20:00:44 -05:00
temperature_fan.py
thermistor.py adc_temperature: Move PrinterADCtoTemperature to adc_temperature.py 2019-01-21 20:24:51 -05:00
tmc2130.py tmc2130: Use bus.py helper code for spi 2018-11-21 12:12:31 -05:00
tmc2208.py tmc2208: Check for debugging mode before checking for a retransmit 2019-01-10 09:55:54 -05:00
tmc2660.py tmc2660: error and whitespace fixes 2018-12-27 11:44:41 -05:00
verify_heater.py klippy: Convert printer_state("connect") to an event handler 2019-01-08 11:09:55 -05:00
virtual_sdcard.py virtual_sdcard: prepare for pause_resume implementation 2019-01-28 11:23:52 -05:00
z_tilt.py klippy: Convert printer_state("connect") to an event handler 2019-01-08 11:09:55 -05:00