Log.logException(Log.ERROR, MODULE, e);
Log.logException(Log.LEVEL_ERROR, MODULE, e);
	public static void resetExifOrientation(String filename) {		if (GalleryFileFilter.canManipulateJpeg(filename)) {			File jpegFile = new File(filename);			try {				Metadata metadata = JpegMetadataReader.readMetadata(jpegFile);				Directory exifDirectory = metadata.getDirectory(ExifDirectory.class);				exifDirectory.setString(ExifDirectory.TAG_ORIENTATION, "1");				// todo: this doesn't do anything at present: the library can only READ				// EXIF, not write to it...			} catch (FileNotFoundException e) {				Log.logException(Log.ERROR, MODULE, e);			} catch (JpegProcessingException e) {				Log.logException(Log.ERROR, MODULE, e);			}		}	}