Skip to content

Instantly share code, notes, and snippets.

View coffeegist's full-sized avatar
Coffee

Adam Brown coffeegist

Coffee
View GitHub Profile
import java.io.DataOutputStream;
import java.net.HttpURLConnection;
import java.net.URL;
sub oplog::saveToDisk {
local('$timestamp $localIP $destIP $userContext $command $operator $oplog_id $logfile $data $header $handle $error');
$timestamp = $1;
$localIP = $2;
$destIP = $3;
$userContext = $4;