added logging support at clientside