Skip to content

Commit

Permalink
Update logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Jan 17, 2025
1 parent 1814a50 commit eccd58a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/Live/Objects/LiveTransmition.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public function save() {
if (empty($this->password)) {
$this->password = '';
}
_error_log("LiveTransmition::save users_id=".User::getId().' IP='.getRealIpAddr().' '.json_encode(debug_backtrace()));
_error_log("LiveTransmition::save {$this->key} users_id=".User::getId().' IP='.getRealIpAddr().' '.json_encode(debug_backtrace()));
$id = parent::save();
//Category::clearCacheCount();
deleteStatsNotifications(true);
Expand Down
2 changes: 1 addition & 1 deletion plugin/Live/Objects/LiveTransmitionHistory.php
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ public function save()
$this->total_viewers = intval($this->total_viewers);

$id = parent::save();
//_error_log("LiveTransmitionHistory::save: id=$id ($this->users_id, $this->live_servers_id, $this->key) " . json_encode(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)));
_error_log("LiveTransmitionHistory::save: id=$id ($this->users_id, $this->live_servers_id, $this->key) users_id=".User::getId().' IP='.getRealIpAddr().' ' . json_encode(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)));
_mysql_commit();
$cacheHandler = new LiveCacheHandler();
$cacheHandler->deleteCache();
Expand Down

0 comments on commit eccd58a

Please sign in to comment.