mirror of
				https://github.com/MichMich/MagicMirror.git
				synced 2025-10-31 18:54:51 +00:00 
			
		
		
		
	Remove logging.
This commit is contained in:
		| @@ -26,12 +26,13 @@ This project adheres to [Semantic Versioning](http://semver.org/). | ||||
| - Fix calendar time offset for recurring events crossing Daylight Savings Time (ISSUE #1798) | ||||
| - Fix regression in currentweather module causing 'undefined' to show up when config.hideTemp is false | ||||
|  | ||||
| ### Updated | ||||
| ### Changed | ||||
| - Remove documentation from core repository and link to new dedicated docs site: [docs.magicmirror.builders](https://docs.magicmirror.builders). | ||||
| - Updated config.js.sample: Corrected some grammar on `config.js.sample` comment section. | ||||
| - Removed `run-start.sh` script and update start commands: | ||||
|   - To start using electron, use `npm run start`. | ||||
|   - To start in server only mode, use `npm run server`. | ||||
| - Remove redundant logging from modules. | ||||
|  | ||||
| ## [2.10.1] - 2020-01-10 | ||||
|  | ||||
|   | ||||
| @@ -151,9 +151,9 @@ var Module = Class.extend({ | ||||
| 	 */ | ||||
| 	notificationReceived: function (notification, payload, sender) { | ||||
| 		if (sender) { | ||||
| 			Log.log(this.name + " received a module notification: " + notification + " from sender: " + sender.name); | ||||
| 			// Log.log(this.name + " received a module notification: " + notification + " from sender: " + sender.name); | ||||
| 		} else { | ||||
| 			Log.log(this.name + " received a system notification: " + notification); | ||||
| 			// Log.log(this.name + " received a system notification: " + notification); | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
|   | ||||
| @@ -138,8 +138,6 @@ Module.register("calendar", { | ||||
| 			this.loaded = true; | ||||
| 		} else if (notification === "INCORRECT_URL") { | ||||
| 			Log.error("Calendar Error. Incorrect url: " + payload.url); | ||||
| 		} else { | ||||
| 			Log.log("Calendar received an unknown socket notification: " + notification); | ||||
| 		} | ||||
|  | ||||
| 		this.updateDom(this.config.animationSpeed); | ||||
|   | ||||
| @@ -367,7 +367,6 @@ Module.register("newsfeed",{ | ||||
| 	}, | ||||
|  | ||||
| 	notificationReceived: function(notification, payload, sender) { | ||||
| 		Log.info(this.name + " - received notification: " + notification); | ||||
| 		if(notification === "ARTICLE_NEXT"){ | ||||
| 			var before = this.activeItem; | ||||
| 			this.activeItem++; | ||||
| @@ -425,8 +424,6 @@ Module.register("newsfeed",{ | ||||
| 				desc:   this.newsItems[this.activeItem].description, | ||||
| 				url:    this.getActiveItemURL() | ||||
| 			}); | ||||
| 		} else { | ||||
| 			Log.info(this.name + " - unknown notification, ignoring: " + notification); | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user