Remove logging messages

This commit is contained in:
Tobias Eidelpes 2021-05-03 15:16:30 +02:00
parent da2c0efdf2
commit 99f931a371

View File

@ -57,7 +57,6 @@ export class EditierenComponent implements OnInit {
public loadFeed(id) { public loadFeed(id) {
this.http.get('http://127.0.0.1:8000/feeds/' + id + '/').subscribe( this.http.get('http://127.0.0.1:8000/feeds/' + id + '/').subscribe(
(data: any) => { (data: any) => {
this._logger.debug('Data: ' + JSON.stringify(data));
this.url = data.url; this.url = data.url;
this.active = data.active; this.active = data.active;
this.keywords = data.keywords; this.keywords = data.keywords;
@ -68,10 +67,8 @@ export class EditierenComponent implements OnInit {
keywords: data.keywords, keywords: data.keywords,
match_all_keywords: data.match_all_keywords match_all_keywords: data.match_all_keywords
}); });
this._logger.debug('Icon in loadFeed' + this.icon);
}, },
err => this._logger.error(err), err => this._logger.error(err),
() => this._logger.debug('Loaded feed with ID ' + id)
); );
} }
@ -80,7 +77,6 @@ export class EditierenComponent implements OnInit {
form.append('url', feedData.url); form.append('url', feedData.url);
form.append('active', feedData.active); form.append('active', feedData.active);
form.append('match_all_keywords', feedData.match_all_keywords); form.append('match_all_keywords', feedData.match_all_keywords);
console.log('Match all: ' + feedData.match_all_keywords);
if (feedData.keywords != null) { if (feedData.keywords != null) {
form.append('keywords', feedData.keywords); form.append('keywords', feedData.keywords);
} }